commit | 8f25229026c89912574558d0a4e36c8fe51b9bb4 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Fri Aug 19 11:00:55 2011 +0300 |
committer | Jiri Kosina <jkosina@suse.cz> | Tue Aug 23 10:44:44 2011 +0200 |
tree | e6a1e622a63c3266459c2952389876093798e045 | |
parent | 2bbaf771eb69f7fd333c4708fd76f94a3bdaf207 [diff] |
HID: hid-lg4ff: add a kfree() to an error path 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>