rtsp-client: unref 'pipelined_requests' in finalize
authorBranko Subasic <branko@axis.com>
Mon, 9 Oct 2017 10:43:01 +0000 (12:43 +0200)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Mon, 9 Oct 2017 18:39:14 +0000 (20:39 +0200)
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

gst/rtsp-server/rtsp-client.c

index 2890407..45d178a 100644 (file)
@@ -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);