mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08: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