From 50d8b0db7aa7b4380a947fac7163c43bfea015c7 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Wed, 10 Nov 2010 20:58:56 +0100 Subject: [PATCH] winegstreamer: Fix regression from d62b4dcb664. Accidentally made a worse leak by plugging a smaller one. --- dlls/winegstreamer/gstdemux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c index 94903c1ea45..1f98a7dca14 100644 --- a/dlls/winegstreamer/gstdemux.c +++ b/dlls/winegstreamer/gstdemux.c @@ -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; -- 2.11.4.GIT