libalpm/deps.c: fix memleak found by valgrind

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2007-09-28 23:22:32 -05:00
parent 7d5dca4043
commit 01e92e9ded

View file

@ -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);
}