]> granicus.if.org Git - neomutt/commitdiff
In postpone.c, function mutt_num_postponed, the old {{{OldPostponed}}} is never
authorVincent Lefevre <vincent@vinc17.org>
Mon, 9 Aug 2010 17:27:05 +0000 (10:27 -0700)
committerVincent Lefevre <vincent@vinc17.org>
Mon, 9 Aug 2010 17:27:05 +0000 (10:27 -0700)
freed.

closes #3442

postpone.c

index fffbb71cdbd11fc3543ece7fe602b67b47da1718..fa3ec64d3d59abb07e0d181c2354ada41bc3dc6a 100644 (file)
@@ -71,6 +71,7 @@ int mutt_num_postponed (int force)
 
   if (mutt_strcmp (Postponed, OldPostponed))
   {
+    FREE (&OldPostponed);
     OldPostponed = safe_strdup (Postponed);
     LastModify = 0;
     force = 1;