[farsight2/master] Remove useless ifs
Olivier Crête
olivier.crete at collabora.co.uk
Tue Jan 6 17:48:03 PST 2009
---
gst/fsrtpconference/fs-rtp-session.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index b633107..41a235b 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -660,11 +660,8 @@ fs_rtp_session_finalize (GObject *object)
g_mutex_free (self->mutex);
self->mutex = NULL;
- if (self->priv->codec_preferences)
- fs_codec_list_destroy (self->priv->codec_preferences);
-
- if (self->priv->codec_associations)
- codec_association_list_destroy (self->priv->codec_associations);
+ fs_codec_list_destroy (self->priv->codec_preferences);
+ codec_association_list_destroy (self->priv->codec_associations);
if (self->priv->current_send_codec)
fs_codec_destroy (self->priv->current_send_codec);
--
1.5.6.5
More information about the farsight-commits
mailing list