Fix old size parameter for memory allocation
This commit is contained in:
1 parent
d40a6e5bc3
commit
50e8d1f469
6 files changed
+17
-19
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user