exit mem_realloc, enters p_realloc/xrealloc.
[apps/madmutt.git] / pgp.c
diff --git a/pgp.c b/pgp.c
index 4603a94..4adb5d0 100644 (file)
--- a/pgp.c
+++ b/pgp.c
@@ -33,7 +33,6 @@
 #include "copy.h"
 #include "attach.h"
 
-#include "lib/mem.h"
 #include "lib/intl.h"
 #include "lib/str.h"
 #include "lib/debug.h"
@@ -1174,7 +1173,7 @@ char *pgp_findKeys (ADDRESS * to, ADDRESS * cc, ADDRESS * bcc)
 
   bypass_selection:
     keylist_size += str_len (keyID) + 4;
-    mem_realloc (&keylist, keylist_size);
+    p_realloc(&keylist, keylist_size);
     sprintf (keylist + keylist_used, "%s0x%s", keylist_used ? " " : "", /* __SPRINTF_CHECKED__ */
              keyID);
     keylist_used = str_len (keylist);