summaryrefslogtreecommitdiffstats
path: root/gst/aacparse/gstbaseparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/aacparse/gstbaseparse.c')
-rw-r--r--gst/aacparse/gstbaseparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/aacparse/gstbaseparse.c b/gst/aacparse/gstbaseparse.c
index b59319a5..ffb17f3f 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;