free the allocated mailbox name at disconnect

This commit is contained in:
Daniel Stenberg 2009-12-20 11:10:08 +00:00
parent 2a3dafc0cd
commit 6add5baa3a
1 changed files with 2 additions and 0 deletions

View File

@ -889,6 +889,8 @@ static CURLcode imap_disconnect(struct connectdata *conn)
Curl_pp_disconnect(&imapc->pp);
free(imapc->mailbox);
return CURLE_OK;
}