Author: sserapion
Date: Thu Dec 3 19:26:55 2009
New Revision: 44382
URL:
http://svn.reactos.org/svn/reactos?rev=44382&view=rev
Log:
fix copy/paste mistake.
Modified:
branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/dummy_mingwthrd.c
Modified: branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/dummy_mingwthrd.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/lib/3…
==============================================================================
--- branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/dummy_mingwthrd.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/dummy_mingwthrd.c [iso-8859-1]
Thu Dec 3 19:26:55 2009
@@ -43,10 +43,11 @@
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;