Skip to content
Snippets Groups Projects
Commit 5bf02b16 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent 594cb850
No related branches found
No related tags found
No related merge requests found
......@@ -126,5 +126,6 @@ char *curl_unescape(const char *string, int length)
the library's memory system */
void curl_free(void *p)
{
free(p);
if(p)
free(p);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment