imap: Introduced the mailbox variable

Added the mailbox variable to the per-connection structure in
preparation for checking for an already selected mailbox.
This commit is contained in:
Jiri Hruska
2013-02-27 18:31:08 +01:00
committed by Steve Holme
parent aa44ec62aa
commit d03aa16164
2 changed files with 2 additions and 0 deletions

View File

@@ -1705,6 +1705,7 @@ static CURLcode imap_disconnect(struct connectdata *conn, bool dead_connection)
Curl_sasl_cleanup(conn, imapc->authused);
/* Cleanup our connection based variables */
Curl_safefree(imapc->mailbox);
Curl_safefree(imapc->mailbox_uidvalidity);
return CURLE_OK;