gst/rtpmanager/rtpsession.c: Don't use GLib-2.10 API, we only require GLib 2.8 at...
authorTim-Philipp Müller <tim@centricular.net>
Sat, 21 Apr 2007 19:21:49 +0000 (19:21 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 21 Apr 2007 19:21:49 +0000 (19:21 +0000)
Original commit message from CVS:
* gst/rtpmanager/rtpsession.c: (rtp_session_finalize):
Don't use GLib-2.10 API, we only require GLib 2.8 at the moment.

ChangeLog
gst/rtpmanager/rtpsession.c

index 70d59e3..b0bf10c 100644 (file)
--- 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):
index 2283dc9..e13f7d6 100644 (file)
@@ -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);