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:
aecfcf3
)
test: add a missing va_end
author
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 14 Oct 2024 08:56:05 +0000
(18:56 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 15 Oct 2024 02:44:27 +0000
(12:44 +1000)
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1059>
test/litest.c
patch
|
blob
|
history
diff --git
a/test/litest.c
b/test/litest.c
index 7e6339b51b58250353ad3e4a4c1c5648049a0e20..bdbc4434ae6728ab905fe892b4f44109ab5f6c74 100644
(file)
--- a/
test/litest.c
+++ b/
test/litest.c
@@
-3395,6
+3395,7
@@
_litest_assert_event_type_is_one_of(struct libinput_event *event, ...)
if ((int)expected_type != -1)
fprintf(stderr, " || ");
}
+ va_end(args);
fprintf(stderr, "\nWrong event is: ");
litest_print_event(event);