summaryrefslogtreecommitdiff
path: root/methods/https.h
diff options
context:
space:
mode:
authorMichael Vogt <egon@debian-devbox>2013-03-01 12:06:50 +0100
committerMichael Vogt <egon@debian-devbox>2013-03-01 12:06:50 +0100
commit01b810674a34e30eb8bb913b94351cdaccd57e1c (patch)
tree93b684196c659d2b61bf256ec8eb99eea543e867 /methods/https.h
parentca3965066270db678649ffd19479a157d95b429f (diff)
parent0597dcd8fa8f933d8bf0d7fbea395408bf3b7e5d (diff)
merged from the debian-sid branch
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>