mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-21 18:04:00 +00:00
validate: monitor: Unref our weak reference to the pipeline
This commit is contained in:
parent
8f123cbc6f
commit
8cc1b39919
1 changed files with 4 additions and 0 deletions
|
@ -129,6 +129,10 @@ gst_validate_monitor_dispose (GObject * object)
|
||||||
g_object_weak_unref (G_OBJECT (monitor->target),
|
g_object_weak_unref (G_OBJECT (monitor->target),
|
||||||
(GWeakNotify) _target_freed_cb, monitor);
|
(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)
|
if (monitor->media_descriptor)
|
||||||
gst_object_unref (monitor->media_descriptor);
|
gst_object_unref (monitor->media_descriptor);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue