HID: hid-lg4ff: add a kfree() to an error path
authorDan Carpenter <error27@gmail.com>
Fri, 19 Aug 2011 08:00:55 +0000 (11:00 +0300)
committerJiri Kosina <jkosina@suse.cz>
Tue, 23 Aug 2011 08:44:44 +0000 (10:44 +0200)
There is a small rare potential memory leak here.  Also Walter Harms
points out that we can do a small cleanup as well by using kstrdup().

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

No differences found