Some more memory leak fixes
This commit is contained in:
parent
f0bbdba104
commit
07012fa3e1
@ -30,7 +30,7 @@ v0.39.3 26-Nov-2003
|
|||||||
Fixed a small memory leak.
|
Fixed a small memory leak.
|
||||||
|
|
||||||
mbfido:
|
mbfido:
|
||||||
Fixed a small memory leak.
|
Fixed a some small memory leaks.
|
||||||
|
|
||||||
mbfile:
|
mbfile:
|
||||||
Fixed a uninitialized memory pointer in the index command.
|
Fixed a uninitialized memory pointer in the index command.
|
||||||
|
2
TODO
2
TODO
@ -117,7 +117,7 @@ mbfido:
|
|||||||
|
|
||||||
N: After readalias we need to free the alias list when mbfido ends.
|
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:
|
mbcico:
|
||||||
N: Test with valgrind, binkp is ok.
|
N: Test with valgrind, binkp is ok.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* Purpose ...............: Add mail to .pkt
|
* Purpose ...............: Add mail to .pkt
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2002
|
* Copyright (C) 1997-2003
|
||||||
*
|
*
|
||||||
* Michiel Broek FIDO: 2:280/2802
|
* Michiel Broek FIDO: 2:280/2802
|
||||||
* Beekmansbos 10
|
* Beekmansbos 10
|
||||||
@ -236,6 +236,7 @@ FILE *OpenPkt(fidoaddr Orig, fidoaddr Dest, char *Extension)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(Queue);
|
||||||
do_flush = TRUE;
|
do_flush = TRUE;
|
||||||
return qp;
|
return qp;
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* Purpose ...............: Post Netmail message from temp file
|
* Purpose ...............: Post Netmail message from temp file
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2002
|
* Copyright (C) 1997-2003
|
||||||
*
|
*
|
||||||
* Michiel Broek FIDO: 2:280/2802
|
* Michiel Broek FIDO: 2:280/2802
|
||||||
* Beekmansbos 10
|
* Beekmansbos 10
|
||||||
@ -125,6 +125,7 @@ int postnetmail(FILE *fp, faddr *f, faddr *t, char *orig, char *subject, time_t
|
|||||||
}
|
}
|
||||||
tidy_faddr(ta);
|
tidy_faddr(ta);
|
||||||
}
|
}
|
||||||
|
free(msgid);
|
||||||
}
|
}
|
||||||
if (!strncmp(buf, "\001FMPT", 5)) {
|
if (!strncmp(buf, "\001FMPT", 5)) {
|
||||||
p = strtok(buf, " \n");
|
p = strtok(buf, " \n");
|
||||||
|
Reference in New Issue
Block a user