]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
Fixup missing myfree of from to and repto in resend_queue()
authorRichard Mortimer <none@none>
Tue, 25 Jan 2011 18:33:14 +0000 (18:33 +0000)
committerRichard Mortimer <none@none>
Tue, 25 Jan 2011 18:33:14 +0000 (18:33 +0000)
src/mlmmj-maintd.c

index 76f8f2483f8f2030e5ba85718521e2db95c4fa25..4fbc1e89b3ab4902762ec6063b7b98dd3c589017 100644 (file)
@@ -315,6 +315,9 @@ int resend_queue(const char *listdir, const char *mlmmjsend)
                if(t - st.st_mtime > bouncelife) {
                        unlink(mailname);
                        myfree(mailname);
+                       myfree(from);
+                       myfree(to);
+                       myfree(repto);
                        continue;
                }