diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libtest/lib1502.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libtest/lib1502.c b/tests/libtest/lib1502.c index 5b75e2f2a..bd7c7c864 100644 --- a/tests/libtest/lib1502.c +++ b/tests/libtest/lib1502.c @@ -79,6 +79,8 @@ int test(char *URL) easy = dup; } else { + curl_slist_free_all(dns_cache_list); + curl_easy_cleanup(easy); return CURLE_OUT_OF_MEMORY; } |