alpm_list : fix a bug in alpm_list_remove
commit5e03941ee5fbd0cc69ac83e2dd6ad6d3e6d940cd
authorXavier Chantry <shiningxc@gmail.com>
Sat, 10 Oct 2009 21:57:10 +0000 (10 23:57 +0200)
committerDan McGee <dan@archlinux.org>
Sun, 11 Oct 2009 17:55:55 +0000 (11 12:55 -0500)
treeccdd635f7970dd6f1e168c15e2e9cb2609324475
parentf15c8d46166a4774028b32407cd1477990130911
alpm_list : fix a bug in alpm_list_remove

A NULL list element triggered an infinite loop. Not cool :)

Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/alpm_list.c