[farsight2/master] Fix leak in fstransmitter test
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:20:28 PST 2008
---
tests/check/base/fstransmitter.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tests/check/base/fstransmitter.c b/tests/check/base/fstransmitter.c
index 1846f13..255d36a 100644
--- a/tests/check/base/fstransmitter.c
+++ b/tests/check/base/fstransmitter.c
@@ -38,6 +38,8 @@ GST_START_TEST (test_fstransmitter_new_fail)
fail_unless (error != NULL, "Error is NULL");
fail_unless (error->domain == FS_ERROR, "Error domain is wrong");
+
+ g_clear_error (&error);
}
GST_END_TEST;
--
1.5.6.5
More information about the farsight-commits
mailing list