validate: Do not unref twice the same list
authorThibault Saunier <tsaunier@gnome.org>
Tue, 12 May 2015 10:07:13 +0000 (12:07 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Thu, 14 May 2015 13:56:56 +0000 (15:56 +0200)
Summary: Depends on D166

Reviewers: Mathieu_Du

Differential Revision: http://phabricator.freedesktop.org/D167

validate/gst/validate/gst-validate-scenario.c

index 7f72daa..5f0f64a 100644 (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);