validate: monitor: Unref our weak reference to the pipeline

This commit is contained in:
Thibault Saunier 2017-05-18 15:21:41 +02:00
parent 8f123cbc6f
commit 8cc1b39919

View file

@ -129,6 +129,10 @@ gst_validate_monitor_dispose (GObject * object)
g_object_weak_unref (G_OBJECT (monitor->target),
(GWeakNotify) _target_freed_cb, monitor);
if (monitor->pipeline)
g_object_weak_unref (G_OBJECT (monitor->pipeline),
(GWeakNotify) _pipeline_freed_cb, monitor);
if (monitor->media_descriptor)
gst_object_unref (monitor->media_descriptor);