From: mmj Date: Thu, 17 Jun 2004 22:39:49 +0000 (+1000) Subject: I bet these are the last ones missing. At least the mlmmj-maintd could run for months... X-Git-Tag: RELEASE_1_0_0~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf200e2f7aaeb8fab7e25e2a74f9fdf92f242997;p=thirdparty%2Fmlmmj.git I bet these are the last ones missing. At least the mlmmj-maintd could run for months and months before gain 100k --- diff --git a/src/mlmmj-maintd.c b/src/mlmmj-maintd.c index b169f495..52f9e690 100644 --- a/src/mlmmj-maintd.c +++ b/src/mlmmj-maintd.c @@ -182,6 +182,8 @@ int resend_queue(const char *listdir, const char *mlmmjsend) dp->d_name); } } + + free(discardedname); toname = concatstr(2, mailname, ".reciptto"); if(!discarded && stat(toname, &st) < 0) { @@ -197,6 +199,8 @@ int resend_queue(const char *listdir, const char *mlmmjsend) dp->d_name); } } + + free(discardedname); reptoname = concatstr(2, mailname, ".reply-to"); @@ -437,6 +441,7 @@ int clean_nolongerbouncing(const char *listdir) close(probefd); chomp(probetimestr); probetime = (time_t)strtol(probetimestr, NULL, 10); + free(probetimestr); t = time(NULL); if(t - probetime > WAITPROBE) { unlink(filename);