{
GstMiniObject mini_object;
- gsize slice_size;
-
GstMemoryInfo info;
gpointer user_data;
if (allocator->notify)
allocator->notify (allocator->user_data);
- g_slice_free1 (allocator->slice_size, allocator);
+ g_slice_free1 (sizeof (GstAllocator), allocator);
}
static GstAllocator *
allocator->mini_object.copy = (GstMiniObjectCopyFunction) _gst_allocator_copy;
allocator->mini_object.free = (GstMiniObjectFreeFunction) _gst_allocator_free;
- allocator->slice_size = sizeof (GstAllocator);
allocator->info = *info;
allocator->user_data = user_data;
allocator->notify = notify;