<<< Date Index >>>     <<< Thread Index >>>

[PATCH 16 of 16] free intermediates in error path



1 file changed, 1 insertion(+)
smime.c |    1 +


# HG changeset patch
# User Erik Hovland <erik@xxxxxxxxxxx>
# Date 1236899608 25200
# Branch HEAD
# Node ID b195a368657041f8ad2a537dfeccf7b876b299c2
# Parent  dfcfb5a6d00dec73c1ffa91e46f7fe37fe2aea50
free intermediates in error path.

diff --git a/smime.c b/smime.c
--- a/smime.c
+++ b/smime.c
@@ -1387,6 +1387,7 @@
   if (!SmimeDefaultKey)
   {
     mutt_error _("Can't sign: No key specified. Use Sign As.");
+    FREE (&intermediates);
     return NULL;
   }