diff options
author | Dan Carpenter <error27@gmail.com> | 2011-08-19 10:00:55 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-08-23 10:44:44 +0200 |
commit | 8f25229026c89912574558d0a4e36c8fe51b9bb4 (patch) | |
tree | e6a1e622a63c3266459c2952389876093798e045 /drivers/hid/hid-ids.h | |
parent | HID: hid-lg4ff: silence sparse complaint (diff) | |
download | linux-8f25229026c89912574558d0a4e36c8fe51b9bb4.tar.xz linux-8f25229026c89912574558d0a4e36c8fe51b9bb4.zip |
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>
Diffstat (limited to 'drivers/hid/hid-ids.h')
0 files changed, 0 insertions, 0 deletions