Maarten Lankhorst : winegstreamer: Fix regression from d62b4dcb664.
Alexandre Julliard
julliard at winehq.org
Thu Nov 11 12:05:49 CST 2010
Module: wine
Branch: master
Commit: 50d8b0db7aa7b4380a947fac7163c43bfea015c7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=50d8b0db7aa7b4380a947fac7163c43bfea015c7
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Wed Nov 10 20:58:56 2010 +0100
winegstreamer: Fix regression from d62b4dcb664.
Accidentally made a worse leak by plugging a smaller one.
---
dlls/winegstreamer/gstdemux.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index 94903c1..1f98a7d 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;
More information about the wine-cvs
mailing list