Skip to content
Snippets Groups Projects
Commit e181eda2 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Caller must free 'engines' list.

parent 7d3f5d7a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment