summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/rtpmanager/rtpsession.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c
index 2283dc97..e13f7d6c 100644
--- a/gst/rtpmanager/rtpsession.c
+++ b/gst/rtpmanager/rtpsession.c
@@ -147,8 +147,8 @@ rtp_session_finalize (GObject * object)
sess = RTP_SESSION_CAST (object);
g_mutex_free (sess->lock);
- g_hash_table_unref (sess->ssrcs);
- g_hash_table_unref (sess->cnames);
+ g_hash_table_destroy (sess->ssrcs);
+ g_hash_table_destroy (sess->cnames);
g_object_unref (sess->source);
G_OBJECT_CLASS (rtp_session_parent_class)->finalize (object);