index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-01-06 11:52:25 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-01-30 14:12:06 +1000 |
commit | c2edd31eae73c9a4bf7b62e41a12fd5c3bba2ce0 (patch) | |
tree | 0dd28ead7c72c5108e9f485728ec0d1f8134517c /lib/libalpm | |
parent | fac9ac6c4011ff643b7335c7381f6219b07bba80 (diff) |
-rw-r--r-- | lib/libalpm/deps.c | 3 |
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 777f1b90..c7dbe1e4 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -833,8 +833,9 @@ int _alpm_resolvedeps(alpm_handle_t *handle, alpm_list_t *localpkgs, } ret = -1; } + alpm_list_free(targ); + targ = NULL; } - alpm_list_free(targ); alpm_list_free(deps); if(ret != 0) { |