aboutsummaryrefslogtreecommitdiff
path: root/lib/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/imap.c')
-rw-r--r--lib/imap.c2
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;
}