aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2011-03-18 11:20:24 -0700
committerDan Fandrich <dan@coneharvesters.com>2011-03-18 11:20:24 -0700
commit663a52c2f88637c773f610d0e8e610de0ad65425 (patch)
tree1d4fb92ef6f2af6a8ba5b42627c74bb29e76379d /lib
parent4b51484a6890cd77e4f1a098829abaa86fda08fe (diff)
pop3: use Curl_safefree() to allow torture tests to succeed
Diffstat (limited to 'lib')
-rw-r--r--lib/pop3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index 03ea7efaf..8da045e48 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 */