mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix spurious ptable assertion in the fork error path.
This commit is contained in:
parent
3048fdf7a1
commit
db5b51d673
1 changed files with 2 additions and 2 deletions
|
@ -182,8 +182,8 @@ Process::~Process() // process_family_lock taken
|
||||||
assert(!root);
|
assert(!root);
|
||||||
assert(!threads_not_exiting_count);
|
assert(!threads_not_exiting_count);
|
||||||
|
|
||||||
assert(ptable);
|
if ( ptable )
|
||||||
ptable->Free(pid);
|
ptable->Free(pid);
|
||||||
ptable.Reset();
|
ptable.Reset();
|
||||||
tty.Reset();
|
tty.Reset();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue