mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-15 02:08:40 -09:00
Don't call link_del() on free'd memory
This commit is contained in:
parent
3d8751b495
commit
e5dccc1719
1 changed files with 2 additions and 1 deletions
|
|
@ -243,7 +243,8 @@ void delete_process() {
|
||||||
nextsel->flags |= FF_BSEL;
|
nextsel->flags |= FF_BSEL;
|
||||||
browse_init(n);
|
browse_init(n);
|
||||||
}
|
}
|
||||||
link_del(root);
|
if(n != NULL)
|
||||||
|
link_del(n);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue