summaryrefslogtreecommitdiff
path: root/tests/dbus/cm-message.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dbus/cm-message.c')
-rw-r--r--tests/dbus/cm-message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dbus/cm-message.c b/tests/dbus/cm-message.c
index 597e27290..b9741baa6 100644
--- a/tests/dbus/cm-message.c
+++ b/tests/dbus/cm-message.c
@@ -74,7 +74,7 @@ test_new_from_parts (Test *test,
msg = _tp_cm_message_new_from_parts (test->base_connection, parts);
- g_ptr_array_free (parts, TRUE);
+ g_ptr_array_unref (parts);
g_assert (TP_IS_CM_MESSAGE (msg));
g_assert_cmpuint (tp_message_count_parts (msg), ==, 2);