1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

curl_free() doesn't free(NULL) but just returns

This commit is contained in:
Daniel Stenberg 2004-05-13 15:16:36 +00:00
parent 594cb8507b
commit 5bf02b16a0

View File

@ -126,5 +126,6 @@ char *curl_unescape(const char *string, int length)
the library's memory system */
void curl_free(void *p)
{
if(p)
free(p);
}