projects
/
platform
/
upstream
/
curl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "Update to 7.44.0"
[platform/upstream/curl.git]
/
tests
/
libtest
/
lib539.c
diff --git
a/tests/libtest/lib539.c
b/tests/libtest/lib539.c
index
053d298
..
923893f
100644
(file)
--- a/
tests/libtest/lib539.c
+++ b/
tests/libtest/lib539.c
@@
-83,7
+83,8
@@
int test(char *URL)
test_cleanup:
curl_slist_free_all(slist);
- free(newURL);
+ if(newURL)
+ free(newURL);
curl_easy_cleanup(curl);
curl_global_cleanup();