mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 13:10:28 +00:00
winegstreamer: Fix regression from d62b4dcb66
.
Accidentally made a worse leak by plugging a smaller one.
This commit is contained in:
parent
97393cd557
commit
50d8b0db7a
@ -519,6 +519,7 @@ static GstFlowReturn got_data_sink(GstPad *pad, GstBuffer *buf) {
|
||||
} else {
|
||||
BYTE *ptr = NULL;
|
||||
hr = BaseOutputPinImpl_GetDeliveryBuffer(&pin->pin, &sample, NULL, NULL, 0);
|
||||
freeSamp = TRUE;
|
||||
if (hr == VFW_E_NOT_CONNECTED) {
|
||||
gst_buffer_unref(buf);
|
||||
return GST_FLOW_NOT_LINKED;
|
||||
|
Loading…
Reference in New Issue
Block a user