diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2008-01-23 20:25:44 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-23 19:52:16 -0600 |
commit | 6b8f404a33b14ccb89f3adedf438f08b330a177a (patch) | |
tree | d51789d35e2a9e6a9c95ff4af04060ab8e76469d /lib/libalpm | |
parent | 8ca6501ee1e3041f4fb186a33a9faf76f973efa2 (diff) | |
download | pacman-6b8f404a33b14ccb89f3adedf438f08b330a177a.tar.xz |
small memleak fix in sync.c.
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Diffstat (limited to 'lib/libalpm')
-rw-r--r-- | lib/libalpm/sync.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index fbe5780d..da7a18fb 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -608,7 +608,8 @@ int _alpm_sync_prepare(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t *dbs_sync goto cleanup; } FREELIST(asked); - FREELIST(deps); + alpm_list_free_inner(deps, (alpm_list_fn_free)_alpm_conflict_free); + alpm_list_free(deps); } EVENT(trans, PM_TRANS_EVT_INTERCONFLICTS_DONE, NULL, NULL); } |