X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fauth.c;fp=imap%2Fauth.c;h=4861fbbe9c85c854d0d03890fb92f287ef3e868a;hp=7c6293d29cc44ccc862ea41b731bb043f7de08a3;hb=8e037c67a88cb4680c4391134c578e3b55a80f8a;hpb=c25bc063f35aaad6938c2022dae7a283346c2769 diff --git a/imap/auth.c b/imap/auth.c index 7c6293d..4861fbb 100644 --- a/imap/auth.c +++ b/imap/auth.c @@ -15,6 +15,8 @@ # include "config.h" #endif +#include + #include "lib/mem.h" #include "lib/intl.h" #include "lib/debug.h" @@ -71,7 +73,7 @@ int imap_authenticate (IMAP_DATA * idata) !ascii_strcasecmp (authenticator->method, method)) if ((r = authenticator->authenticate (idata, method)) != IMAP_AUTH_UNAVAIL) { - mem_free (&methods); + p_delete(&methods); return r; } @@ -79,7 +81,7 @@ int imap_authenticate (IMAP_DATA * idata) } } - mem_free (&methods); + p_delete(&methods); } else { /* Fall back to default: any authenticator */