Commit c1f37edf authored by Guillaume Desmottes's avatar Guillaume Desmottes Committed by Edward Hervey
Browse files

playbin3: fix collection leak

The collection referenced owned by playbin3 was not released when it was
parent 2c0a4d20
......@@ -1794,6 +1794,9 @@ gst_play_bin3_finalize (GObject * object)
if (playbin->velements)
g_sequence_free (playbin->velements);
if (playbin->collection)
gst_object_unref (playbin->collection);
g_list_free_full (playbin->contexts, (GDestroyNotify) gst_context_unref);
g_rec_mutex_clear (&playbin->lock);
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