X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=imap%2Fauth.c;h=f97e5a9f2e0e12a70b32a984b88200f47cdd6bf8;hb=9e6ab0152703ad301042ce8810859f41fbee405a;hp=7c6293d29cc44ccc862ea41b731bb043f7de08a3;hpb=9218fd9d7e2a7976b34683c60cb94f7fda42141a;p=apps%2Fmadmutt.git diff --git a/imap/auth.c b/imap/auth.c index 7c6293d..f97e5a9 100644 --- a/imap/auth.c +++ b/imap/auth.c @@ -15,7 +15,8 @@ # include "config.h" #endif -#include "lib/mem.h" +#include + #include "lib/intl.h" #include "lib/debug.h" @@ -71,7 +72,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 +80,7 @@ int imap_authenticate (IMAP_DATA * idata) } } - mem_free (&methods); + p_delete(&methods); } else { /* Fall back to default: any authenticator */