[farsight2/master] Zero the gstrtpbin pointre if there is an error
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:20:22 PST 2008
---
gst/fsrtpconference/fs-rtp-conference.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-conference.c b/gst/fsrtpconference/fs-rtp-conference.c
index 5702eb2..23b33ff 100644
--- a/gst/fsrtpconference/fs-rtp-conference.c
+++ b/gst/fsrtpconference/fs-rtp-conference.c
@@ -210,6 +210,7 @@ fs_rtp_conference_init (FsRtpConference *conf,
if (!gst_bin_add (GST_BIN (conf), conf->gstrtpbin)) {
GST_ERROR_OBJECT (conf, "Could not create GstRtpBin element");
gst_object_unref (conf->gstrtpbin);
+ conf->gstrtpbin = NULL;
return;
}
--
1.5.6.5
More information about the farsight-commits
mailing list