]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
I bet these are the last ones missing. At least the mlmmj-maintd could run for months...
authormmj <none@none>
Thu, 17 Jun 2004 22:39:49 +0000 (08:39 +1000)
committermmj <none@none>
Thu, 17 Jun 2004 22:39:49 +0000 (08:39 +1000)
src/mlmmj-maintd.c

index b169f49582007211ee3a088ffa26db880560bc0b..52f9e6901969e3a9f1150feee7c00f5719a77ee4 100644 (file)
@@ -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);