diff options
Diffstat (limited to 'gst/playback/gsturidecodebin.c')
-rw-r--r-- | gst/playback/gsturidecodebin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index e5ea264b..034d7288 100644 --- a/gst/playback/gsturidecodebin.c +++ b/gst/playback/gsturidecodebin.c @@ -432,6 +432,10 @@ gst_uri_decode_bin_finalize (GObject * obj) g_mutex_free (dec->lock); g_free (dec->uri); g_free (dec->encoding); + if (dec->factories) { + g_value_array_free (dec->factories); + dec->factories = NULL; + } G_OBJECT_CLASS (parent_class)->finalize (obj); } |