From 01e92e9ded7dc5e9a26a65bace71477a51f08bdb Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 28 Sep 2007 23:22:32 -0500 Subject: libalpm/deps.c: fix memleak found by valgrind Signed-off-by: Dan McGee --- lib/libalpm/deps.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 946a42ff..b7e49be2 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -224,6 +224,7 @@ alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, pmtranstype_t mode) } alpm_list_free_inner(vertices, _alpm_graph_free); + alpm_list_free(vertices); return(newtargs); } -- cgit v1.2.3-70-g09d2