Fix a possible segfault in alpm/remove.c
commit59295081982b33640f4e16589ef281872da540b5
authorNagy Gabor <ngaba@bibl.u-szeged.hu>
Wed, 16 Jul 2008 13:27:37 +0000 (16 15:27 +0200)
committerDan McGee <dan@archlinux.org>
Fri, 18 Jul 2008 01:20:06 +0000 (17 20:20 -0500)
tree2d48097109b8b7ea014e2163f7f5f9a0c5963e2d
parent03021713e5315312b150e6ac9c5cf48fe68f7615
Fix a possible segfault in alpm/remove.c

Before removing a package from target list (in remove_prepare_keep_needed),
we should check whether we have already removed it.

Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/remove.c