gstallocator: Use the right allocator instance to free memory
In the case GST_ALLOCATOR_FLAG_CUSTOM_ALLOC is set, copy
is allocated
by the default allocator and not mem->allocator.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
In the case GST_ALLOCATOR_FLAG_CUSTOM_ALLOC is set, copy
is allocated
by the default allocator and not mem->allocator.