Port to new memory model: M_MEMORY_FULL cannot return anymore

This commit is contained in:
Patrick Pelissier committed 2025-05-07 21:02:23 +02:00
1 parent 839e7c2957
commit 1cf7c4fa4d
16 files changed
+6 -78

No files matched your search

-1
View File
@@ -111,7 +111,6 @@ M_P(void, m_genint, _init, m_genint_t s, unsigned int n)
atomic_ullong *ptr = M_MEMORY_REALLOC (atomic_ullong, NULL, 0, alloc);
if (M_UNLIKELY_NOMEM (ptr == NULL)) {
M_MEMORY_FULL(atomic_ullong, alloc);
return;
}
s->n = n;
s->data = ptr;