diff options
| author | Vladimir Zapolskiy <[email protected]> | 2015-07-31 00:09:49 +0000 |
|---|---|---|
| committer | Krzysztof Kozlowski <[email protected]> | 2015-07-31 01:11:25 +0000 |
| commit | 27bbd23fe8e66edfff4c0e92eb9eb39c37856831 (patch) | |
| tree | ff9b669a9f9b28eeb858a8227c721456d026c0e9 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | Linux 4.2-rc1 (diff) | |
| download | kernel-27bbd23fe8e66edfff4c0e92eb9eb39c37856831.tar.gz kernel-27bbd23fe8e66edfff4c0e92eb9eb39c37856831.zip | |
ARM: EXYNOS: Fix potentian kfree() of ro memory
The change fixes a bug introduced by 2be2a3ff42a5, memory allocated
by kstrdup_const() must be always deallocated with kfree_const(),
otherwise there is a risk of kfree'ing ro memory in power domain error
exit path.
Signed-off-by: Vladimir Zapolskiy <[email protected]>
Cc: <[email protected]>
Fixes: 2be2a3ff42a5 ("ARM: EXYNOS: register power domain driver from core_initcall")
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
