From 663a52c2f88637c773f610d0e8e610de0ad65425 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 18 Mar 2011 11:20:24 -0700 Subject: [PATCH] pop3: use Curl_safefree() to allow torture tests to succeed --- lib/pop3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pop3.c b/lib/pop3.c index 03ea7efaf7..8da045e483 100644 --- a/lib/pop3.c +++ b/lib/pop3.c @@ -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 */