cringe
This commit is contained in:
parent
6eca5c2af5
commit
9f0f4aa085
@ -19,6 +19,7 @@ sus_Bool sus_threadNew(sus_threadProc proc, void * arg){
|
|||||||
ti->proc = proc;
|
ti->proc = proc;
|
||||||
ti->args = arg;
|
ti->args = arg;
|
||||||
if(CreateThread(NULL, 0, threadProc, ti, 0, NULL) == NULL){
|
if(CreateThread(NULL, 0, threadProc, ti, 0, NULL) == NULL){
|
||||||
|
sus_heapFree(ti);
|
||||||
return sus_False;
|
return sus_False;
|
||||||
}else{
|
}else{
|
||||||
return sus_True;
|
return sus_True;
|
||||||
|
Loading…
Reference in New Issue
Block a user