diff --git a/src/libs/memmgr/pools.c b/src/libs/memmgr/pools.c index ab635f5..cb47386 100644 --- a/src/libs/memmgr/pools.c +++ b/src/libs/memmgr/pools.c @@ -38,7 +38,7 @@ MemPrivatePoolGetEntryDirect(void *PoolHandle, const char *SourceFile, unsigned { struct MemPoolPrivateRef *ref = (struct MemPoolPrivateRef *)PoolHandle; - return g_slice_alloc(ref->size); + return g_slice_alloc0(ref->size); } EXPORT void