From 04b7d2ad140058a7cab911fb77ec0285bf76b059 Mon Sep 17 00:00:00 2001 From: Nagy Gabor Date: Fri, 16 Nov 2007 22:48:29 +0100 Subject: Two memleak fixes in pacman. Both memleak was an unfreed alpm_db_whatprovides list. Signed-off-by: Nagy Gabor --- src/pacman/deptest.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pacman/deptest.c') diff --git a/src/pacman/deptest.c b/src/pacman/deptest.c index 6b104bad..32fb3d08 100644 --- a/src/pacman/deptest.c +++ b/src/pacman/deptest.c @@ -70,6 +70,7 @@ int pacman_deptest(alpm_list_t *targets) break; } } + alpm_list_free(provides); } if(!found) { -- cgit v1.2.3-54-g00ecf