projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
512e964
)
test: plug a memory leak, all events need to be destroyed
author
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 3 Feb 2014 04:23:38 +0000
(14:23 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Wed, 5 Feb 2014 22:09:34 +0000
(08:09 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/path.c
patch
|
blob
|
history
diff --git
a/test/path.c
b/test/path.c
index
24f647f
..
ec5d03d
100644
(file)
--- a/
test/path.c
+++ b/
test/path.c
@@
-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