[farsight2/master] Remove useless checks
Olivier Crête
olivier.crete at collabora.co.uk
Tue Jan 6 17:20:14 PST 2009
---
gst/fsrtpconference/fs-rtp-stream.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-stream.c b/gst/fsrtpconference/fs-rtp-stream.c
index eeacdb2..06f4a59 100644
--- a/gst/fsrtpconference/fs-rtp-stream.c
+++ b/gst/fsrtpconference/fs-rtp-stream.c
@@ -255,11 +255,8 @@ fs_rtp_stream_finalize (GObject *object)
{
FsRtpStream *self = FS_RTP_STREAM (object);
- if (self->remote_codecs)
- fs_codec_list_destroy (self->remote_codecs);
-
- if (self->negotiated_codecs)
- fs_codec_list_destroy (self->negotiated_codecs);
+ fs_codec_list_destroy (self->remote_codecs);
+ fs_codec_list_destroy (self->negotiated_codecs);
parent_class->finalize (object);
}
--
1.5.6.5
More information about the farsight-commits
mailing list