mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 17:18:48 -05:00
lib1502: fix memory leak in torture test
Reported-by: Marcel Raad Fixes #2861 Closes #2863
This commit is contained in:
parent
6fac5a3e65
commit
531cb203c1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user