From 19d57dcfa5b3bdb8442fc780927ca8572cee607a Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Sat, 14 Nov 2020 10:47:53 +0000 Subject: [PATCH] play: Plug media_info leak Part-of: --- gst-libs/gst/play/gstplay.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-libs/gst/play/gstplay.c b/gst-libs/gst/play/gstplay.c index 36746ee..6229439 100644 --- a/gst-libs/gst/play/gstplay.c +++ b/gst-libs/gst/play/gstplay.c @@ -489,6 +489,8 @@ gst_play_finalize (GObject * object) gst_structure_free (self->config); if (self->collection) gst_object_unref (self->collection); + if (self->media_info) + g_object_unref (self->media_info); g_mutex_clear (&self->lock); g_cond_clear (&self->cond); -- 2.7.4