diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2013-01-09 14:47:35 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2013-01-09 14:47:35 +0100 |
commit | 45a9cc46a143cc2864bba910cff2d9dfc1172dec (patch) | |
tree | 72b1068969b6e20f7720c5200e67456e177248f2 /methods | |
parent | cc41811512ba00f70738b70f0448c9172b71daf2 (diff) |
add missing curl_easy_cleanup()
Diffstat (limited to 'methods')
-rw-r--r-- | methods/https.h | 5 |
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> |