diff options
author | 2011-01-02 22:17:00 +0100 | |
---|---|---|
committer | 2011-01-03 00:11:30 +0100 | |
commit | 0fbf8ed976af5bb43cf9cf2492161eb9688fee0c (patch) | |
tree | 186b2986bcbbbf97f49b1e2385880b84df9fd7d2 /kernel/irq/pm.c | |
parent | HID: picolcd: fix misuse of logical operation in place of bitop (diff) | |
download | wireguard-linux-0fbf8ed976af5bb43cf9cf2492161eb9688fee0c.tar.xz wireguard-linux-0fbf8ed976af5bb43cf9cf2492161eb9688fee0c.zip |
HID: hid-picolcd: Fix memory leak in picolcd_debug_out_report()
We have a memory leak in drivers/hid/hid-picolcd.c::picolcd_debug_out_report()
in an error path.. We are not always freeing the memory allocated to
'buff' - this patch makes sure we always kfree() what we allocate with
kmalloc() when it is no longer needed.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel/irq/pm.c')
0 files changed, 0 insertions, 0 deletions