diff options
author | Dan McGee <dan@archlinux.org> | 2007-09-28 23:22:32 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-09-28 23:27:14 -0500 |
commit | 01e92e9ded7dc5e9a26a65bace71477a51f08bdb (patch) | |
tree | 67db666b50a6009afcb2b17154eb21267ba1b2b0 /lib/libalpm/deps.c | |
parent | 7d5dca4043b5f4ff94cd6033fccd4eadb3610a66 (diff) | |
download | pacman-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.c | 1 |
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); } |