From d610cfbbc072703e12d527053190a0fc5a2be28c Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Fri, 7 Aug 2009 13:06:28 +0200 Subject: [PATCH] baseparse: fix minor memory leak --- gst/aacparse/gstbaseparse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/aacparse/gstbaseparse.c b/gst/aacparse/gstbaseparse.c index b59319a52a..ffb17f3fc8 100644 --- a/gst/aacparse/gstbaseparse.c +++ b/gst/aacparse/gstbaseparse.c @@ -950,6 +950,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;