summaryrefslogtreecommitdiff
path: root/test/log.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-06-25 10:32:42 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-06-25 10:32:42 +1000
commitbad56cac5b17c3eda58facfc87ae6345814ddc16 (patch)
treea375bfb5e5a42bf40d5b3d9a967c3b09d940158d /test/log.c
parent97a6bf10f95859940379787da2635b69399db40c (diff)
parent89aa3ca176130104f2fc5c034400cbb4c41cf479 (diff)
downloadlibinput-bad56cac5b17c3eda58facfc87ae6345814ddc16.tar.gz
Merge branch 'ref-counting-context'
Conflicts: src/udev-seat.c test/log.c
Diffstat (limited to 'test/log.c')
-rw-r--r--test/log.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/log.c b/test/log.c
index 02ed4f08..6ce5e7f4 100644
--- a/test/log.c
+++ b/test/log.c
@@ -72,7 +72,7 @@ START_TEST(log_default_priority)
ck_assert_int_eq(pri, LIBINPUT_LOG_PRIORITY_ERROR);
- libinput_destroy(li);
+ libinput_unref(li);
}
END_TEST
@@ -91,7 +91,7 @@ START_TEST(log_handler_invoked)
ck_assert_int_gt(log_handler_called, 0);
log_handler_called = 0;
- libinput_destroy(li);
+ libinput_unref(li);
log_handler_context = NULL;
}
@@ -110,7 +110,7 @@ START_TEST(log_handler_NULL)
ck_assert_int_eq(log_handler_called, 0);
log_handler_called = 0;
- libinput_destroy(li);
+ libinput_unref(li);
}
END_TEST
@@ -133,7 +133,7 @@ START_TEST(log_priority)
log_handler_called = 0;
- libinput_destroy(li);
+ libinput_unref(li);
log_handler_context = NULL;
}
END_TEST