validate: Do not unref twice the same list

Summary: Depends on D166

Reviewers: Mathieu_Du

Differential Revision: http://phabricator.freedesktop.org/D167
This commit is contained in:
Thibault Saunier 2015-05-12 12:07:13 +02:00
parent 2e8552eff0
commit 319e86c81c

View file

@ -2419,7 +2419,6 @@ gst_validate_scenario_dispose (GObject * object)
if (GST_VALIDATE_SCENARIO (object)->pipeline)
g_object_weak_unref (G_OBJECT (GST_VALIDATE_SCENARIO (object)->pipeline),
(GWeakNotify) _pipeline_freed_cb, object);
g_list_free_full (priv->actions, (GDestroyNotify) gst_validate_action_unref);
if (priv->bus) {
gst_bus_remove_signal_watch (priv->bus);