Mercurial > hg > mlmmj
changeset 453:94fbccee8faa
Init struct before usage
author | mmj |
---|---|
date | Fri, 04 Feb 2005 02:39:40 +1100 |
parents | a9a0c2ffc04b |
children | 86d87d090670 |
files | src/mlmmj-bounce.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mlmmj-bounce.c Fri Feb 04 02:18:52 2005 +1100 +++ b/src/mlmmj-bounce.c Fri Feb 04 02:39:40 2005 +1100 @@ -172,7 +172,7 @@ { int fd, indsn = 0, i; char *line, *linedup, *search, *addr = NULL; - struct email_container emails; + struct email_container emails = { 0, NULL }; fd = open(mailname, O_RDONLY); if(fd < 0) { @@ -410,6 +410,8 @@ } myfree(bfilename); + if(dsnbounce && address) + myfree(address); return EXIT_SUCCESS; }