From 6add5baa3a1fb8de3116e3ead982fa61e0943b91 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 20 Dec 2009 11:10:08 +0000 Subject: free the allocated mailbox name at disconnect --- lib/imap.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/imap.c b/lib/imap.c index 505a6ba21..50201e151 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -889,6 +889,8 @@ static CURLcode imap_disconnect(struct connectdata *conn) Curl_pp_disconnect(&imapc->pp); + free(imapc->mailbox); + return CURLE_OK; } -- cgit v1.2.3