Mercurial > hg > mlmmj
changeset 825:ed44b298ebfc
Ensure that mlmmjsend, mlmmjbounce, mlmmjunsub are freed on abnormal exit
author | Richard Mortimer |
---|---|
date | Tue, 25 Jan 2011 19:22:27 +0000 |
parents | a1286c17824a |
children | b03d3e3dac2b |
files | src/mlmmj-maintd.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mlmmj-maintd.c Tue Jan 25 18:59:39 2011 +0000 +++ b/src/mlmmj-maintd.c Tue Jan 25 19:22:27 2011 +0000 @@ -1104,6 +1104,9 @@ if(chdir(dirlists) < 0) { log_error(LOG_ARGS, "Could not chdir(%s).", dirlists); + myfree(mlmmjbounce); + myfree(mlmmjsend); + myfree(mlmmjunsub); exit(EXIT_FAILURE); }