diff options
author | Jiri Kosina <jkosina@suse.cz> | 2007-02-21 19:18:03 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2007-03-01 11:52:43 +0300 |
commit | 776c0e96edecf77f827a62d2a1641cc2ca479043 (patch) | |
tree | f5eeeefdbd02d3ffcc16b2394451032bf4c4969e /include/rxrpc | |
parent | 4330eb2e5fb6d3c9c0a0be8ed14793f72334d1d4 (diff) | |
download | linux-776c0e96edecf77f827a62d2a1641cc2ca479043.tar.xz |
HID: fix possible double-free on error path in hid parser
Freeing of device->collection is properly done in hid_free_device() (as
this function is supposed to free all the device resources and could be
called from transport specific code, e.g. usb_hid_configure()).
Remove all kfree() calls preceeding the hid_free_device() call.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/rxrpc')
0 files changed, 0 insertions, 0 deletions