aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib539.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib539.c')
-rw-r--r--tests/libtest/lib539.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/libtest/lib539.c b/tests/libtest/lib539.c
index 923893fb2..053d29806 100644
--- a/tests/libtest/lib539.c
+++ b/tests/libtest/lib539.c
@@ -83,8 +83,7 @@ int test(char *URL)
test_cleanup:
curl_slist_free_all(slist);
- if(newURL)
- free(newURL);
+ free(newURL);
curl_easy_cleanup(curl);
curl_global_cleanup();