Commit 6add5baa authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

free the allocated mailbox name at disconnect

parent 2a3dafc0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -889,6 +889,8 @@ static CURLcode imap_disconnect(struct connectdata *conn)

  Curl_pp_disconnect(&imapc->pp);

  free(imapc->mailbox);

  return CURLE_OK;
}