fix regressions
[apps/madmutt.git] / imap / auth_sasl.c
index 71b8f49..f9be180 100644 (file)
@@ -13,6 +13,8 @@
 # include "config.h"
 #endif
 
+#include <lib-lib/mem.h>
+
 #include "mutt.h"
 #include "ascii.h"
 #include "mutt_sasl.h"
@@ -137,10 +139,6 @@ imap_auth_res_t imap_auth_sasl (IMAP_DATA * idata, const char *method)
         debug_print (1, ("error base64-encoding client response.\n"));
         goto bail;
       }
-
-      /* sasl_client_st(art|ep) allocate pc with malloc, expect me to 
-       * free it */
-      mem_free (&pc);
     }
 
     if (irc == IMAP_CMD_RESPOND) {