From 1f2a0d3b3daea4ef63a6d49208346a0561538f54 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Fri, 7 Aug 2009 13:06:28 +0200 Subject: baseparse: fix minor memory leak --- gst/flacparse/gstbaseparse.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/flacparse') diff --git a/gst/flacparse/gstbaseparse.c b/gst/flacparse/gstbaseparse.c index 8fb2b2ae..24b3516f 100644 --- a/gst/flacparse/gstbaseparse.c +++ b/gst/flacparse/gstbaseparse.c @@ -1030,6 +1030,7 @@ gst_base_parse_chain (GstPad * pad, GstBuffer * buffer) GST_DEBUG_OBJECT (parse, "found valid frame but not enough data available (only %d bytes)", gst_adapter_available (parse->adapter)); + gst_buffer_unref (tmpbuf); goto done; } break; -- cgit v1.2.1