summaryrefslogtreecommitdiff
path: root/lib/libalpm/deps.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-09-28 23:22:32 -0500
committerDan McGee <dan@archlinux.org>2007-09-28 23:27:14 -0500
commit01e92e9ded7dc5e9a26a65bace71477a51f08bdb (patch)
tree67db666b50a6009afcb2b17154eb21267ba1b2b0 /lib/libalpm/deps.c
parent7d5dca4043b5f4ff94cd6033fccd4eadb3610a66 (diff)
downloadpacman-01e92e9ded7dc5e9a26a65bace71477a51f08bdb.tar.xz
libalpm/deps.c: fix memleak found by valgrind
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/deps.c')
-rw-r--r--lib/libalpm/deps.c1
1 files changed, 1 insertions, 0 deletions
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);
}