Port to new spec M_MEMORY_FULL

This commit is contained in:
Patrick Pelissier committed 2025-05-07 21:02:23 +02:00
1 parent 450d2c9000
commit 1e196fe22a
21 files changed
+88 -87

No files matched your search

+1 -1
View File
@@ -192,7 +192,7 @@ M_BEGIN_PROTECTED_CODE
{ \
type *ptr = M_CALL_NEW(oplist, type); \
if (M_UNLIKELY_NOMEM (ptr == NULL)) { \
M_MEMORY_FULL(sizeof(type)); \
M_MEMORY_FULL(type, 1); \
return NULL; \
} \
M_CALL_INIT(oplist, *ptr); \