projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b51484
)
pop3: use Curl_safefree() to allow torture tests to succeed
author
Dan Fandrich
<dan@coneharvesters.com>
Fri, 18 Mar 2011 18:20:24 +0000
(11:20 -0700)
committer
Dan Fandrich
<dan@coneharvesters.com>
Fri, 18 Mar 2011 18:20:24 +0000
(11:20 -0700)
lib/pop3.c
patch
|
blob
|
history
diff --git
a/lib/pop3.c
b/lib/pop3.c
index
03ea7ef
..
8da045e
100644
(file)
--- 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_safe
free(pop3c->mailbox);
pop3c->mailbox = NULL;
/* clear these for next connection */