mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
gstclapper: Fix decoder stream ID string leak
This commit is contained in:
5
lib/gst/clapper/gstclapper.c
vendored
5
lib/gst/clapper/gstclapper.c
vendored
@@ -3091,11 +3091,12 @@ iterate_decoder_pads (GstClapper * self, GstElement * element,
|
|||||||
if (plugin_name) {
|
if (plugin_name) {
|
||||||
GST_DEBUG_OBJECT (self, "Found decoder: %s", plugin_name);
|
GST_DEBUG_OBJECT (self, "Found decoder: %s", plugin_name);
|
||||||
emit_decoder_changed (self, plugin_name, type);
|
emit_decoder_changed (self, plugin_name, type);
|
||||||
}
|
|
||||||
|
|
||||||
g_free (plugin_name);
|
g_free (plugin_name);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_free (decoder_stream_id);
|
||||||
g_value_unset (&value);
|
g_value_unset (&value);
|
||||||
|
|
||||||
if (found)
|
if (found)
|
||||||
|
Reference in New Issue
Block a user