mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-24 19:20:06 +01:00
This doesn't really do much here, but strictly speaking: if asprintf returns -1, devnode is undefined. So reset it to NULL to avoid weird pointers. And also free the rest of the names if we ever have more than one device - which also shouldn't happen. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| libevdev-int.h | ||
| libevdev-names.c | ||
| libevdev-uinput-int.h | ||
| libevdev-uinput.c | ||
| libevdev-uinput.h | ||
| libevdev-util.h | ||
| libevdev.c | ||
| libevdev.h | ||
| libevdev.sym | ||
| make-event-names.py | ||
| Makefile.am | ||