Skip to content
Snippets Groups Projects
Commit e5dccc17 authored by Yorhel's avatar Yorhel
Browse files

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

parent 3d8751b4
No related branches found
No related tags found
No related merge requests found
...@@ -243,7 +243,8 @@ void delete_process() { ...@@ -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);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment