diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-12-20 11:10:08 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-12-20 11:10:08 +0000 |
commit | 6add5baa3a1fb8de3116e3ead982fa61e0943b91 (patch) | |
tree | 69924d4950a27b0140a4aabb17fb0f4206d66b07 /lib | |
parent | 2a3dafc0cdb7f65c19835a1246623186a05073a8 (diff) |
free the allocated mailbox name at disconnect
Diffstat (limited to 'lib')
-rw-r--r-- | lib/imap.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |