From 45a9cc46a143cc2864bba910cff2d9dfc1172dec Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 9 Jan 2013 14:47:35 +0100 Subject: add missing curl_easy_cleanup() --- methods/https.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'methods') diff --git a/methods/https.h b/methods/https.h index b1961a870..293e288e0 100644 --- a/methods/https.h +++ b/methods/https.h @@ -41,6 +41,11 @@ class HttpsMethod : public pkgAcqMethod File = 0; curl = curl_easy_init(); }; + + ~HttpsMethod() + { + curl_easy_cleanup(curl); + }; }; #include -- cgit v1.2.3