baseparse: fix minor memory leak
This commit is contained in:
parent
1f9525d821
commit
1f2a0d3b3d
@ -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…
x
Reference in New Issue
Block a user