mirror of https://github.com/moparisthebest/curl
pop3: use Curl_safefree() to allow torture tests to succeed
This commit is contained in:
parent
4b51484a68
commit
663a52c2f8
|
@ -732,7 +732,7 @@ static CURLcode pop3_done(struct connectdata *conn, CURLcode status,
|
|||
result = status; /* use the already set error code */
|
||||
}
|
||||
|
||||
free(pop3c->mailbox);
|
||||
Curl_safefree(pop3c->mailbox);
|
||||
pop3c->mailbox = NULL;
|
||||
|
||||
/* clear these for next connection */
|
||||
|
|
Loading…
Reference in New Issue