From b65a4c4deea3d9b0965bd2421083b98213804768 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Thu, 20 Nov 2014 20:26:39 -0500 Subject: fix leak in local db search path --- expac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expac.c b/expac.c index 548e5d1..899881e 100644 --- a/expac.c +++ b/expac.c @@ -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; -- cgit v1.2.3-54-g00ecf