Caller must free 'engines' list.

This commit is contained in:
Gisle Vanem 2004-12-14 14:24:04 +00:00
parent 7d3f5d7ac1
commit e181eda253
1 changed files with 2 additions and 1 deletions

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;
}