summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBranko Subasic <branko@axis.com>2017-10-09 12:43:01 +0200
committerThibault Saunier <thibault.saunier@osg.samsung.com>2017-10-09 20:39:14 +0200
commit619ac7b710e6fc7b83cb995d70433a65d7714101 (patch)
tree29b89ce33e46f7e1e3cc76725c839e8da8949d91
parent8608c1cae4d5621a5a7cf4618d835abaa6962cb2 (diff)
rtsp-client: unref 'pipelined_requests' in finalize
The hash table priv->pipelined_requests is not unref:ed in the finalize funktion. Make sure it is. https://bugzilla.gnome.org/show_bug.cgi?id=788704
-rw-r--r--gst/rtsp-server/rtsp-client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c
index 2890407..45d178a 100644
--- a/gst/rtsp-server/rtsp-client.c
+++ b/gst/rtsp-server/rtsp-client.c
@@ -696,6 +696,7 @@ gst_rtsp_client_finalize (GObject * obj)
g_assert (priv->session_removed_id == 0);
g_hash_table_unref (priv->transports);
+ g_hash_table_unref (priv->pipelined_requests);
if (priv->connection)
gst_rtsp_connection_free (priv->connection);