summaryrefslogtreecommitdiff
path: root/tests/lib/simple-channel-dispatcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/simple-channel-dispatcher.c')
-rw-r--r--tests/lib/simple-channel-dispatcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/simple-channel-dispatcher.c b/tests/lib/simple-channel-dispatcher.c
index 283ec64e2..22bca4b23 100644
--- a/tests/lib/simple-channel-dispatcher.c
+++ b/tests/lib/simple-channel-dispatcher.c
@@ -99,7 +99,7 @@ create_channel_request (TpTestsSimpleChannelDispatcher *self,
self->priv->requests = g_slist_append (self->priv->requests, chan_request);
- g_ptr_array_free (requests, TRUE);
+ g_ptr_array_unref (requests);
dbus = tp_dbus_daemon_dup (NULL);
g_assert (dbus != NULL);