aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2011-08-19 08:00:55 +0000
committerJiri Kosina <[email protected]>2011-08-23 08:44:44 +0000
commit8f25229026c89912574558d0a4e36c8fe51b9bb4 (patch)
treee6a1e622a63c3266459c2952389876093798e045 /lib/dynamic_debug.c
parentHID: hid-lg4ff: silence sparse complaint (diff)
downloadkernel-8f25229026c89912574558d0a4e36c8fe51b9bb4.tar.gz
kernel-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 <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions