Commit 9e3b63e1 authored by Chris Bass's avatar Chris Bass Committed by Sebastian Dröge
Browse files

ttmlrender: Fix potential resource leak identified by coverity

Fixes CID #1405133.
parent 0a4717ea
......@@ -1917,6 +1917,8 @@ gst_ttml_render_split_block (UnifiedBlock * block, GPtrArray * char_ranges)
if (gst_ttml_render_unified_block_element_count (clone) > 0)
g_ptr_array_add (ret, clone);
gst_ttml_render_unified_block_free (clone);
if (ret->len == 0) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment