CID 3037: missing return after deleting itself.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40276 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jonas Sundström 2011-01-23 23:00:15 +00:00
parent 717d3ee213
commit f72663929e
2 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,7 @@ GenericThread::ThreadFunction()
}
delete this;
return B_OK;
}
BeginUnit();

View File

@ -52,6 +52,7 @@ GenericThread::ThreadFunction(void)
}
delete this; // destructor
return B_OK;
}
BeginUnit();