[PATCH libevdev] Ignore NULL as argument in libevdev_uinput_destroy()
David Herrmann
dh.herrmann at gmail.com
Wed May 7 00:52:06 PDT 2014
Hi
On Thu, May 1, 2014 at 11:56 PM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> Triggered by the tests when run as non-root. Simply ignore any attempt to
> destroy a NULL device, which also matches the behaviour of libevdev_free().
>
> Reported-by: Andreas Radke <a.radke at arcor.de>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Makes error-paths look much nicer:
Reviewed-by: David Herrmann <dh.herrmann at gmail.com>
Thanks
David
More information about the Input-tools
mailing list