Fix error : doesn't allocate not enought memory!
This commit is contained in:
1 parent
4861f4d811
commit
15e8a7b7d7
1 file changed
+1
-1
+1
-1
@@ -101,7 +101,7 @@
|
|||||||
static inline type * \
|
static inline type * \
|
||||||
M_C3(ishared_, name, _init_new)(void) \
|
M_C3(ishared_, name, _init_new)(void) \
|
||||||
{ \
|
{ \
|
||||||
type *ptr = M_GET_NEW oplist (sizeof (type)); \
|
type *ptr = M_GET_NEW oplist (type); \
|
||||||
if (ptr == NULL) { \
|
if (ptr == NULL) { \
|
||||||
M_MEMORY_FULL(sizeof(type)); \
|
M_MEMORY_FULL(sizeof(type)); \
|
||||||
return NULL; \
|
return NULL; \
|
||||||
|
|||||||
Reference in new issue
Block a user