diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-12-28 11:15:55 +0100 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-12-28 11:15:55 +0100 |
commit | b062a21d2ebb2ebd21f809baf04e6f3da64f018f (patch) | |
tree | 13fa8b4f1f098f2b55f9380df5cef3b6eb2786e0 /lib/libalpm/handle.c | |
parent | 6bd15469b1febef5d061905b0f7d8f69bf96a08f (diff) | |
download | pacman-b062a21d2ebb2ebd21f809baf04e6f3da64f018f.tar.gz pacman-b062a21d2ebb2ebd21f809baf04e6f3da64f018f.tar.xz |
Fixed some memory leaks (patch from Essien Ita Essien <essiene@datavibe.net>)
Diffstat (limited to 'lib/libalpm/handle.c')
-rw-r--r-- | lib/libalpm/handle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index 568f0d28..55b94a4d 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -87,9 +87,11 @@ int handle_free(pmhandle_t *handle) FREETRANS(handle->trans); FREE(handle->root); FREE(handle->dbpath); + FREE(handle->cachedir); FREE(handle->logfile); FREELIST(handle->dbs_sync); FREELIST(handle->noupgrade); + FREELIST(handle->noextract); FREELIST(handle->ignorepkg); free(handle); |