mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix error case in tfork(2).
This commit is contained in:
parent
94a7433cf0
commit
c0ad3d8a80
1 changed files with 1 additions and 1 deletions
|
@ -719,7 +719,7 @@ Process* Process::Fork()
|
|||
kthread_mutex_unlock(&ptrlock);
|
||||
|
||||
if ( !(clone->program_image_path = String::Clone(program_image_path)) )
|
||||
failure = false;
|
||||
failure = true;
|
||||
|
||||
if ( string_table && (clone->string_table = new char[string_table_length]) )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue