mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
fix copy/paste mistake.
svn path=/branches/ros-amd64-bringup/; revision=44382
This commit is contained in:
+3
-2
@@ -43,10 +43,11 @@ ___w64_mingwthr_add_key_dtor (DWORD key, void (*dtor)(void *))
|
||||
if (__mingwthr_cs_init == 0)
|
||||
return 0;
|
||||
new_key = (__mingwthr_key_t *)malloc(sizeof (__mingwthr_key_t));
|
||||
memset(new_key, 0,sizeof (__mingwthr_key_t));
|
||||
|
||||
if (new_key == NULL)
|
||||
return -1;
|
||||
|
||||
|
||||
memset(new_key, 0,sizeof (__mingwthr_key_t));
|
||||
new_key->key = key;
|
||||
new_key->dtor = dtor;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user