Some more memory leak fixes

This commit is contained in:
Michiel Broek
2003-12-06 10:32:14 +00:00
parent f0bbdba104
commit 07012fa3e1
4 changed files with 6 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
* Purpose ...............: Add mail to .pkt
*
*****************************************************************************
* Copyright (C) 1997-2002
* Copyright (C) 1997-2003
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@@ -236,6 +236,7 @@ FILE *OpenPkt(fidoaddr Orig, fidoaddr Dest, char *Extension)
}
}
free(Queue);
do_flush = TRUE;
return qp;
}

View File

@@ -4,7 +4,7 @@
* Purpose ...............: Post Netmail message from temp file
*
*****************************************************************************
* Copyright (C) 1997-2002
* Copyright (C) 1997-2003
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@@ -125,6 +125,7 @@ int postnetmail(FILE *fp, faddr *f, faddr *t, char *orig, char *subject, time_t
}
tidy_faddr(ta);
}
free(msgid);
}
if (!strncmp(buf, "\001FMPT", 5)) {
p = strtok(buf, " \n");