https://github.com/torvalds/linux
Revision 0b7d25c347900e2550398e29e25caf0fefe3cab2 authored by Christian Engelmayer on 23 January 2014, 21:32:20 UTC, committed by Thierry Reding on 26 February 2014, 14:45:12 UTC
Fix a memory leak in the lp3943_pwm_request_map() error handling path.
Make sure already allocated pwm map memory is freed correctly.
Detected by Coverity: CID 1162829.

Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Acked-by: Milo Kim <milo.kim@ti.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
1 parent 38dbfb5
History
Tip revision: 0b7d25c347900e2550398e29e25caf0fefe3cab2 authored by Christian Engelmayer on 23 January 2014, 21:32:20 UTC
pwm: lp3943: Fix potential memory leak during request
Tip revision: 0b7d25c
File Mode Size
asymmetric-parser.h -rw-r--r-- 1.2 KB
asymmetric-subtype.h -rw-r--r-- 1.6 KB
asymmetric-type.h -rw-r--r-- 716 bytes
big_key-type.h -rw-r--r-- 899 bytes
ceph-type.h -rw-r--r-- 123 bytes
dns_resolver-type.h -rw-r--r-- 689 bytes
encrypted-type.h -rw-r--r-- 1.2 KB
keyring-type.h -rw-r--r-- 544 bytes
rxrpc-type.h -rw-r--r-- 4.0 KB
system_keyring.h -rw-r--r-- 633 bytes
trusted-type.h -rw-r--r-- 770 bytes
user-type.h -rw-r--r-- 1.8 KB

back to top