# Pastebin Kj1hOrbj From 898d1e6776e74c54e741fffcd5ab81745d1e46e4 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 18 May 2017 15:21:41 +0200 Subject: [PATCH] validate: monitor: Unref our weak reference to the pipeline --- validate/gst/validate/gst-validate-monitor.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/validate/gst/validate/gst-validate-monitor.c b/validate/gst/validate/gst-validate-monitor.c index cbb6ab3..9a19674 100644 --- a/validate/gst/validate/gst-validate-monitor.c +++ b/validate/gst/validate/gst-validate-monitor.c @@ -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); -- 2.13.0