X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/379e22a4c0c00193b16fec3c46c4b68cdb63ee1a..2a49601f69e08f06fb2727d869d420daacdd09d5:/methods/https.h diff --git a/methods/https.h b/methods/https.h index 3b57c7be6..293e288e0 100644 --- a/methods/https.h +++ b/methods/https.h @@ -8,8 +8,8 @@ ##################################################################### */ /*}}}*/ -#ifndef APT_HTTP_H -#define APT_HTTP_H +#ifndef APT_HTTPS_H +#define APT_HTTPS_H #include #include @@ -41,6 +41,11 @@ class HttpsMethod : public pkgAcqMethod File = 0; curl = curl_easy_init(); }; + + ~HttpsMethod() + { + curl_easy_cleanup(curl); + }; }; #include