summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gst/rtpmanager/rtpsession.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 70d59e30..b0bf10c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
+
+ * gst/rtpmanager/rtpsession.c: (rtp_session_finalize):
+ Don't use GLib-2.10 API, we only require GLib 2.8 at the moment.
+
2007-04-20 Michael Smith <msmith@fluendo.com>
* ext/faad/gstfaad.c: (gst_faad_open_decoder):
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);