fix regressions
[apps/madmutt.git] / crypt.c
diff --git a/crypt.c b/crypt.c
index 54d60fe..dad41c3 100644 (file)
--- a/crypt.c
+++ b/crypt.c
@@ -16,6 +16,8 @@
 # include "config.h"
 #endif
 
+#include <lib-lib/mem.h>
+
 #include "mutt.h"
 #include "ascii.h"
 #include "handler.h"
@@ -826,7 +828,7 @@ int mutt_signed_handler (BODY * a, STATE * s)
       state_attach_puts (_("[-- The following data is signed --]\n\n"), s);
 
 
-      mem_free (&signatures);
+      p_delete(&signatures);
     }
     else
       state_attach_puts (_("[-- Warning: Can't find any signatures. --]\n\n"),