diff options
author | Philippe Normand <philn@igalia.com> | 2020-11-14 10:47:53 +0000 |
---|---|---|
committer | Philippe Normand <philn@igalia.com> | 2021-03-09 18:03:48 +0000 |
commit | 19d57dcfa5b3bdb8442fc780927ca8572cee607a (patch) | |
tree | d74692dbf163e4de3cfbf9bda7a3307b48d7ea45 /gst-libs | |
parent | e007c47c3f127bac85fda59fa3dfb764bfb85d68 (diff) | |
download | gstreamer-plugins-bad-19d57dcfa5b3bdb8442fc780927ca8572cee607a.tar.gz |
play: Plug media_info leak
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2061>
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/play/gstplay.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/play/gstplay.c b/gst-libs/gst/play/gstplay.c index 36746ee68..62294392d 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); |