2
0
mirror of https://github.com/curl/curl.git synced 2025-04-12 16:20:35 +08:00

pop3: use Curl_safefree() to allow torture tests to succeed

This commit is contained in:
Dan Fandrich 2011-03-18 11:20:24 -07:00
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 */