-- fix: zero out slice allocated memory

This commit is contained in:
pfelt
2009-07-10 23:03:26 +00:00
parent 828ab1006d
commit e6ff789f6e
+1 -1
View File
@@ -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