diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-03-27 08:43:04 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-03-27 08:46:47 +1000 |
commit | 20014431007a08d25c1df595fbb33d92b1bb719d (patch) | |
tree | 1ec558f5414d8904e6375033dc3a49cb0a3cb32a /test/log.c | |
parent | e49a9888bfce4397a8d3a64543c99daf0f994aa2 (diff) | |
download | libinput-20014431007a08d25c1df595fbb33d92b1bb719d.tar.gz |
test: plug a couple of memory leaks
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test/log.c')
-rw-r--r-- | test/log.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -84,6 +84,8 @@ START_TEST(log_handler_invoked) ck_assert_int_gt(log_handler_called, 0); log_handler_called = 0; + + libinput_destroy(li); } END_TEST @@ -100,6 +102,8 @@ START_TEST(log_userdata_NULL) ck_assert_int_gt(log_handler_called, 0); log_handler_called = 0; + + libinput_destroy(li); } END_TEST @@ -116,6 +120,8 @@ START_TEST(log_userdata) ck_assert_int_gt(log_handler_called, 0); log_handler_called = 0; + + libinput_destroy(li); } END_TEST @@ -133,6 +139,8 @@ START_TEST(log_handler_NULL) ck_assert_int_eq(log_handler_called, 0); log_handler_called = 0; libinput_log_set_handler(simple_log_handler, NULL); + + libinput_destroy(li); } END_TEST @@ -154,6 +162,8 @@ START_TEST(log_priority) ck_assert_int_gt(log_handler_called, 0); log_handler_called = 0; + + libinput_destroy(li); } END_TEST |