Peter Hutterer f162f00f1d Plug a memory leak for name, uniq, phys
If a device is assigned a name, uniq and/or phys before calling
libevdev_set_fd(), those values would leak.

Change the default alloc to calloc, so name, uniq, and phys are initialized to
zero before we call libevdev_reset

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-02-27 13:19:36 +10:00
2013-12-09 08:46:24 +10:00
2013-11-19 09:34:23 +10:00
2014-02-27 13:19:12 +10:00
2014-02-26 07:24:46 +10:00
2013-11-19 09:34:23 +10:00
2014-02-18 14:51:23 +10:00
2013-11-15 09:30:10 +10:00
2013-08-26 07:59:07 +10:00

libevdev - wrapper library for evdev input devices

libevdev is a wrapper library for evdev devices. it moves the common tasks when dealing with evdev devices into a library and provides a library interface to the callers, thus avoiding erroneous ioctls, etc.

git://git.freedesktop.org/git/libevdev http://cgit.freedesktop.org/libevdev/

The eventual goal is that libevdev wraps all ioctls available to evdev devices, thus making direct access unnecessary.

Go here for the API documentation: http://www.freedesktop.org/software/libevdev/doc/latest/

File bugs in the freedesktop.org bugzilla: https://bugs.freedesktop.org/enter_bug.cgi?product=libevdev

Patches, questions and general comments should be submitted to the input-tools@lists.freedesktop.org mailing list: http://lists.freedesktop.org/mailman/listinfo/input-tools

S
Description
No description provided
Readme
1 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 91.7%
M4 2.6%
Meson 1.8%
Makefile 1.1%
Shell 1%
Other 1.8%