mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 17:18:24 +00:00
@@ -136,7 +136,7 @@ void _pthread_data_destroy(_pthread_data_t *ptd)
|
||||
ptd->magic = 0x0;
|
||||
|
||||
/* clear the "ptd->tid->user_data" */
|
||||
ptd->tid->user_data = 0;
|
||||
ptd->tid->user_data = RT_NULL;
|
||||
|
||||
/* free ptd */
|
||||
rt_free(ptd);
|
||||
|
||||
Reference in New Issue
Block a user