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
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.3 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 266.4 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top