thread: fix thread object data corruption
This commit is contained in:
@@ -30,7 +30,6 @@ struct thread *thread_alloc(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct thread *t = THREAD_CAST(thread_obj);
|
struct thread *t = THREAD_CAST(thread_obj);
|
||||||
memset(t, 0x00, sizeof *t);
|
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user