free the allocated mailbox name at disconnect
This commit is contained in:
@@ -889,6 +889,8 @@ static CURLcode imap_disconnect(struct connectdata *conn)
|
|||||||
|
|
||||||
Curl_pp_disconnect(&imapc->pp);
|
Curl_pp_disconnect(&imapc->pp);
|
||||||
|
|
||||||
|
free(imapc->mailbox);
|
||||||
|
|
||||||
return CURLE_OK;
|
return CURLE_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user