summaryrefslogtreecommitdiff
path: root/methods/https.h
diff options
context:
space:
mode:
Diffstat (limited to 'methods/https.h')
-rw-r--r--methods/https.h5
1 files changed, 5 insertions, 0 deletions
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 <apt-pkg/strutl.h>