Fix error : doesn't allocate not enought memory!

This commit is contained in:
Patrick Pelissier committed 2017-04-07 17:41:22 +02:00
1 parent 4861f4d811
commit 15e8a7b7d7
1 file changed
+1 -1
+1 -1
View File
@@ -101,7 +101,7 @@
static inline type * \
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) { \
M_MEMORY_FULL(sizeof(type)); \
return NULL; \