index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-03-16 19:25:35 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-16 19:25:35 -0500 |
commit | cff36093f3b778b3bda9c9d1a3acf24e36dd9f73 (patch) | |
tree | 2095bf581d9c12d5b0a61796359a5b40928f3630 /lib/libalpm/handle.c | |
parent | 92630c660710332d0e02dea5a3c06c48f75d7321 (diff) | |
parent | f2eac18a6ec62db3ec53744064e05416024c1b30 (diff) |
-rw-r--r-- | lib/libalpm/handle.c | 6 |
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index d4ebe82a..34893fc6 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -71,6 +71,11 @@ void _alpm_handle_free(pmhandle_t *handle) closelog(); } +#ifdef HAVE_LIBCURL + /* release curl handle */ + curl_easy_cleanup(handle->curl); +#endif + /* free memory */ _alpm_trans_free(handle->trans); FREE(handle->root); @@ -85,6 +90,7 @@ void _alpm_handle_free(pmhandle_t *handle) FREELIST(handle->ignorepkg); FREELIST(handle->ignoregrp); FREE(handle); + } alpm_cb_log SYMEXPORT alpm_option_get_logcb() |