Don't call link_del() on free'd memory

This commit is contained in:
Yorhel 2009-06-06 20:43:52 +02:00
parent 3d8751b495
commit e5dccc1719

View file

@ -243,7 +243,8 @@ void delete_process() {
nextsel->flags |= FF_BSEL;
browse_init(n);
}
link_del(root);
if(n != NULL)
link_del(n);
}