mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
flacparse: Free GstBaseParseFrame if pushing a header failed
This commit is contained in:
parent
edf6d28765
commit
73751dbbe7
1 changed files with 1 additions and 1 deletions
|
@ -1347,9 +1347,9 @@ push_headers:
|
|||
frame.buffer = buf;
|
||||
frame.overhead = -1;
|
||||
res = gst_base_parse_push_frame (GST_BASE_PARSE (flacparse), &frame);
|
||||
gst_base_parse_frame_free (&frame);
|
||||
if (res != GST_FLOW_OK)
|
||||
break;
|
||||
gst_base_parse_frame_free (&frame);
|
||||
}
|
||||
g_list_foreach (flacparse->headers, (GFunc) gst_mini_object_unref, NULL);
|
||||
g_list_free (flacparse->headers);
|
||||
|
|
Loading…
Reference in a new issue