diff options
author | Andres Salomon <dilinger@queued.net> | 2008-01-17 20:01:30 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-01-17 20:01:30 +0300 |
commit | 746b31a9d4e08240d267069bcf5084eb7e427ad7 (patch) | |
tree | 34abba83caf7dde6c22dc13bf26e0ee11e136b41 /drivers/input/mouse/logibm.c | |
parent | 62aa366d9b0158a81eace3b83e6b027789f7575b (diff) | |
download | linux-746b31a9d4e08240d267069bcf5084eb7e427ad7.tar.xz |
Input: psmouse - fix potential memory leak in psmouse_connect()
If we successfully call input_register_device() in psmouse_connect()
but sysfs_create_group() fails, we'll enter the error path without
ever having called input_unregister_device() potentially leaking
memory.
Signed-off-by: Andres Salomon <dilinger@debian.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/logibm.c')
0 files changed, 0 insertions, 0 deletions