[Telepathy-commits] [telepathy-gabble/master] jingle_media_rtp_codec_free: param hashtable is always there, destroy it unconditionally
Senko Rasic
senko.rasic at collabora.co.uk
Tue Dec 2 04:34:08 PST 2008
---
src/jingle-media-rtp.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/jingle-media-rtp.c b/src/jingle-media-rtp.c
index d5ec118..147ee09 100644
--- a/src/jingle-media-rtp.c
+++ b/src/jingle-media-rtp.c
@@ -106,9 +106,7 @@ jingle_media_rtp_codec_new (guint id, const gchar *name,
void
jingle_media_rtp_codec_free (JingleCodec *p)
{
- if (p->params != NULL)
- g_hash_table_destroy (p->params);
-
+ g_hash_table_destroy (p->params);
g_free (p->name);
g_slice_free (JingleCodec, p);
}
--
1.5.6.5
More information about the Telepathy-commits
mailing list