mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
baseparse: fix minor memory leak
This commit is contained in:
parent
1f9525d821
commit
1f2a0d3b3d
3 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue