1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Caller must free 'engines' list.

This commit is contained in:
Gisle Vanem 2004-12-14 14:24:04 +00:00
parent 7d3f5d7ac1
commit e181eda253

View File

@ -3029,10 +3029,11 @@ operate(struct Configurable *config, int argc, char *argv[])
if (config->list_engines) {
const struct curl_slist *engines = NULL;
struct curl_slist *engines = NULL;
curl_easy_getinfo(curl, CURLINFO_SSL_ENGINES, &engines);
list_engines(engines);
curl_slist_free_all(engines);
res = CURLE_OK;
goto quit_curl;
}