projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e99471a
)
rtsp-media: unref clock (if set) when finalizing
author
Carlos Rafael Giani
<dv@pseudoterminal.org>
Mon, 16 Jul 2018 19:57:08 +0000
(21:57 +0200)
committer
Tim-Philipp Müller
<tim@centricular.com>
Mon, 16 Jul 2018 22:56:09 +0000
(23:56 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=796814
gst/rtsp-server/rtsp-media.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-media.c
b/gst/rtsp-server/rtsp-media.c
index
74d5280
..
f23b4c5
100644
(file)
--- a/
gst/rtsp-server/rtsp-media.c
+++ b/
gst/rtsp-server/rtsp-media.c
@@
-475,6
+475,8
@@
gst_rtsp_media_finalize (GObject * obj)
g_object_unref (priv->pool);
if (priv->payloads)
g_list_free (priv->payloads);
+ if (priv->clock)
+ gst_object_unref (priv->clock);
g_free (priv->multicast_iface);
g_mutex_clear (&priv->lock);
g_cond_clear (&priv->cond);