diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-11-20 20:26:39 -0500 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-11-20 20:26:39 -0500 |
commit | b65a4c4deea3d9b0965bd2421083b98213804768 (patch) | |
tree | 157f6fc70c07bd44bb4605eb443570d64942455c | |
parent | 015dae3c6f100d30e66ad1234f317650f97eb5a0 (diff) | |
download | expac-b65a4c4deea3d9b0965bd2421083b98213804768.tar.xz |
fix leak in local db search path
-rw-r--r-- | expac.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -711,7 +711,7 @@ static alpm_list_t *expac_search_local(expac_t *expac, alpm_list_t *targets) { alpm_list_t *dblist, *r; dblist = alpm_list_add(NULL, alpm_get_localdb(expac->alpm)); - r = resolve_targets(alpm_list_add(NULL, alpm_get_localdb(expac->alpm)), targets); + r = resolve_targets(dblist, targets); alpm_list_free(dblist); return r; |