summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-03-26 15:27:23 +0000
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-03-26 15:27:23 +0000
commita87ea9b605fc4faec5fb703058b87364a7885b3f (patch)
tree7f919cecbde51068dc217d4dd7a0033428a1405d /tests
parent98a6c9f18a4c4e0924707f5936ccf3b84bdc624b (diff)
clear error once tested
Diffstat (limited to 'tests')
-rw-r--r--tests/dbus/params-cm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/dbus/params-cm.c b/tests/dbus/params-cm.c
index f734690eb..5b5c6142a 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);