diff options
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2007-11-16 22:48:29 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-17 16:39:12 +0100 |
commit | 04b7d2ad140058a7cab911fb77ec0285bf76b059 (patch) | |
tree | a7d157d0637e45b9326634c803a32ba29c14ce70 /src/pacman/deptest.c | |
parent | 3d10786394f5b2a65104fdff3d31d70022dfd68d (diff) | |
download | pacman-04b7d2ad140058a7cab911fb77ec0285bf76b059.tar.gz pacman-04b7d2ad140058a7cab911fb77ec0285bf76b059.tar.xz |
Two memleak fixes in pacman.
Both memleak was an unfreed alpm_db_whatprovides list.
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Diffstat (limited to 'src/pacman/deptest.c')
-rw-r--r-- | src/pacman/deptest.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |