HID: hidraw: free list for all error in hidraw_open
authorAmit Nagal <helloin.amit@gmail.com>
Wed, 7 Sep 2011 11:48:47 +0000 (13:48 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 7 Sep 2011 11:48:47 +0000 (13:48 +0200)
commit1a8962317f494ad858971fc08ba035eff658a5c9
tree67ef5b407e8fb04f99e05cb8af63fdeda4d4e803
parentba623a774f5b529f89b3d63e0837df52e16ffb3b
HID: hidraw: free list for all error in hidraw_open

In function hidraw_open struct hidraw_list *list should be freed for
all error conditions.

Signed-off-by: Amit Nagal <helloin.amit@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hidraw.c