mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-07 13:30:20 +01:00
test: plug a memory leak, all events need to be destroyed
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
512e964661
commit
0d879fd239
1 changed files with 2 additions and 0 deletions
|
|
@ -214,6 +214,8 @@ START_TEST(path_device_sysname)
|
|||
ck_assert(sysname != NULL && strlen(sysname) > 1);
|
||||
ck_assert(strchr(sysname, '/') == NULL);
|
||||
ck_assert_int_eq(strncmp(sysname, "event", 5), 0);
|
||||
|
||||
libinput_event_destroy(ev);
|
||||
}
|
||||
}
|
||||
END_TEST
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue