[farsight2/master] Don't crash if the error pointer is NULL
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:25:20 PST 2008
---
gst-libs/gst/farsight/fs-transmitter.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gst-libs/gst/farsight/fs-transmitter.c b/gst-libs/gst/farsight/fs-transmitter.c
index e1491bf..51d5095 100644
--- a/gst-libs/gst/farsight/fs-transmitter.c
+++ b/gst-libs/gst/farsight/fs-transmitter.c
@@ -298,7 +298,7 @@ fs_transmitter_new (const gchar *type, guint components, GError **error)
return NULL;
if (self->construction_error) {
- *error = self->construction_error;
+ g_propagate_error(error, self->construction_error);
g_object_unref (self);
self = NULL;
}
--
1.5.6.5
More information about the farsight-commits
mailing list