aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */