diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-28 09:08:43 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-06-08 09:12:14 +1000 |
commit | ac5173163d7d1e18d47630a397ece0f26b2568c8 (patch) | |
tree | f3cf315785b4c4c80ddbf0873f49708c6162d435 /configure.ac | |
parent | strtol doesn't need a empty string, NULL is good enough. (diff) | |
download | xf86-input-evdev-ac5173163d7d1e18d47630a397ece0f26b2568c8.tar.gz xf86-input-evdev-ac5173163d7d1e18d47630a397ece0f26b2568c8.tar.bz2 xf86-input-evdev-ac5173163d7d1e18d47630a397ece0f26b2568c8.zip |
Release mtdev data whenever we close the fd
Add a new EvdevCloseDevice() function to unify this.
We used to leak data
- PreInit allocates mtdev, but nothing except one error path released it.
- each DEVICE_ON re-allocates mtdev but it is never released
Reported-by: Zdenek Kabelac <zdenek.kabelac@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions