]> granicus.if.org Git - curl/commit
Curl_thread_create: use Curl_safefree to allow NULL better
authorDaniel Stenberg <daniel@haxx.se>
Tue, 24 Dec 2013 23:53:15 +0000 (00:53 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 24 Dec 2013 23:53:15 +0000 (00:53 +0100)
commit0ff0a994ada62aa1f34c8f729b9ef2ded9b0e2a9
tree60716216dc1561389abac27d8639611d5a8e288b
parente8b57d1e849c80652b762130f38beeb0d431b23f
Curl_thread_create: use Curl_safefree to allow NULL better

free() itself allows a NULL input but our memory debug system requires
Curl_safefree() to be used instead when a "legitimate" NULL may be freed. Like
in the code here.

Pointed-out-by: Steve Holme
lib/curl_threads.c