diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2004-12-14 14:24:04 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2004-12-14 14:24:04 +0000 |
commit | e181eda2534dee1f894a37b41b07b643df925396 (patch) | |
tree | a8051d5283ed7c79fa835119f7653947c1218f0f /src | |
parent | 7d3f5d7ac101b180aefaf2430e0ee09620883e99 (diff) |
Caller must free 'engines' list.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index fe9278cab..001bbd40c 100644 --- a/src/main.c +++ b/src/main.c @@ -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; } |