Fix old size parameter for memory allocation

This commit is contained in:
Patrick Pelissier committed 2025-05-07 21:02:23 +02:00
1 parent d40a6e5bc3
commit 50e8d1f469
6 files changed
+17 -19

No files matched your search

+1 -1
View File
@@ -130,7 +130,7 @@ M_INLINE void
m_genint_clear(m_genint_t s)
{
M_GEN1NT_CONTRACT(s);
M_MEMORY_FREE(atomic_ullong, s->data, s->alloc);
M_MEMORY_FREE(atomic_ullong, s->data, s->max+1);
s->data = NULL;
}