Hello together, this is a patch against current CVS HEAD which fixes two IMAP memory leaks. Honestly, Thomas
diff -Nru a/imap/imap.c b/imap/imap.c --- a/imap/imap.c 2004-08-10 10:36:39 +02:00 +++ b/imap/imap.c 2004-08-10 10:36:39 +02:00 @@ -778,6 +778,9 @@ imap_cmd_start (idata, "LOGOUT"); while (imap_cmd_step (idata) == IMAP_CMD_CONTINUE) ; + + FREE(& idata->cmd.buf); + FREE(& idata); } int imap_close_connection (CONTEXT *ctx)