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

@ -30,7 +30,7 @@ v0.39.3 26-Nov-2003
Fixed a small memory leak.
mbfido:
Fixed a small memory leak.
Fixed a some small memory leaks.
mbfile:
Fixed a uninitialized memory pointer in the index command.

2
TODO
View File

@ -117,7 +117,7 @@ mbfido:
N: After readalias we need to free the alias list when mbfido ends.
N: Tic, toss, scan tests with valgrind.
N: Tic, scan tests with valgrind.
mbcico:
N: Test with valgrind, binkp is ok.

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");