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
1 changed files with 1 additions and 1 deletions

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