code:добавлена также глобальная очистка

main
PARZIVAL (BreganIM) 7 месяцев назад
Родитель 928e229a58
Сommit 2a9b70a833

@ -43,6 +43,7 @@ int main(int argc, char* argv[]) {
curl_easy_setopt(curl, CURLOPT_URL, argv[1]); curl_easy_setopt(curl, CURLOPT_URL, argv[1]);
res = curl_easy_perform(curl); res = curl_easy_perform(curl);
curl_easy_cleanup(curl); curl_easy_cleanup(curl);
curl_global_cleanup();
} }
return 0; return 0;
} }
@ -52,5 +53,6 @@ int main(int argc, char* argv[]) {
show_histogram_svg(bins); show_histogram_svg(bins);
show_histogram_text(bins); show_histogram_text(bins);
return 0; return 0;
} }

Загрузка…
Отмена
Сохранить