summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-09-30 13:36:10 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 12:09:43 +0100
commitace22170655f61d82fff95e57d673bf847a32a03 (patch)
tree5a4543e05214b84bedc1d52ac14db14c67a5d559 /tools/perf/scripts/python/check-perf-trace.py
parentcbf854ab36870b931aeba4edd954015b7c3005a2 (diff)
downloadlinux-stable-ace22170655f61d82fff95e57d673bf847a32a03.tar.gz
linux-stable-ace22170655f61d82fff95e57d673bf847a32a03.tar.bz2
linux-stable-ace22170655f61d82fff95e57d673bf847a32a03.zip
nvmem: core: Fix memory leak in nvmem_cell_write
A tmp buffer is allocated if cell->bit_offset || cell->nbits. So the tmp buffer needs to be freed at the same condition to avoid leak. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions