[Telepathy-commits] [telepathy-glib/master] clear error once tested

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Thu Mar 26 08:27:23 PDT 2009


---
 tests/dbus/params-cm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/dbus/params-cm.c b/tests/dbus/params-cm.c
index f734690..5b5c614 100644
--- a/tests/dbus/params-cm.c
+++ b/tests/dbus/params-cm.c
@@ -154,6 +154,7 @@ test_set_params (Test *test,
       "example", parameters, NULL, NULL, &test->error, NULL);
   g_assert (test->error != NULL);
   g_assert (test->error->code == TP_ERROR_NOT_IMPLEMENTED);
+  g_clear_error (&test->error);
 
   params = param_connection_manager_get_params_last_conn ();
   g_assert (params != NULL);
-- 
1.5.6.5




More information about the telepathy-commits mailing list