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
1 changed files with 1 additions and 1 deletions

View File

@ -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 */