aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/curl_threads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_threads.c b/lib/curl_threads.c
index 97527807e..d40e024c8 100644
--- a/lib/curl_threads.c
+++ b/lib/curl_threads.c
@@ -77,8 +77,8 @@ curl_thread_t Curl_thread_create(unsigned int (*func) (void*), void *arg)
return t;
err:
- free(t);
- free(ac);
+ Curl_safefree(t);
+ Curl_safefree(ac);
return curl_thread_t_null;
}