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
This commit is contained in:
Branko Subasic 2017-10-09 12:43:01 +02:00 committed by Thibault Saunier
parent 8608c1cae4
commit 619ac7b710

View file

@ -696,6 +696,7 @@ gst_rtsp_client_finalize (GObject * obj)
g_assert (priv->session_removed_id == 0); g_assert (priv->session_removed_id == 0);
g_hash_table_unref (priv->transports); g_hash_table_unref (priv->transports);
g_hash_table_unref (priv->pipelined_requests);
if (priv->connection) if (priv->connection)
gst_rtsp_connection_free (priv->connection); gst_rtsp_connection_free (priv->connection);