1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2014-09-15 20:58:12 +02:00
parent 94a7433cf0
commit c0ad3d8a80

View file

@ -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]) )
{