winegstreamer: Avoid releasing wg_allocator memory samples twice.
When the sample size is too small, we were releasing it from the memory,
but kept the next_sample pointer set. Later, when the transform removes
the sample from the allocator, its refcount was decremented one more
time, effectively leaking the sample.
Showing
Please
register
or
sign in
to comment