summaryrefslogtreecommitdiff
path: root/test/test-libevdev-has-event.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-02-27 11:13:53 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-02-27 13:19:12 +1000
commit05c061c2bce03af0cf9919d313f8ef30c38f8b12 (patch)
tree61808f946d7edaee6c9045e2a385727afe54602c /test/test-libevdev-has-event.c
parent128cdcf1050c85882c89cc96f5a0f2c76c9ad6f1 (diff)
downloadlibevdev-05c061c2bce03af0cf9919d313f8ef30c38f8b12.tar.gz
test: plug more memory leaks
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test/test-libevdev-has-event.c')
-rw-r--r--test/test-libevdev-has-event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test-libevdev-has-event.c b/test/test-libevdev-has-event.c
index 8beb8c4..f3c1626 100644
--- a/test/test-libevdev-has-event.c
+++ b/test/test-libevdev-has-event.c
@@ -455,6 +455,7 @@ START_TEST(test_invalid_mt_device)
ck_assert(libevdev_get_event_value(dev, EV_ABS, ABS_MT_SLOT) == 1);
uinput_device_free(uidev);
+ libevdev_free(dev);
} END_TEST