diff options
author | 2016-05-24 17:12:04 +0100 | |
---|---|---|
committer | 2016-06-12 15:13:04 +0530 | |
commit | 9ef3c5112139cc5c5666ee096e05bc1e00e94015 (patch) | |
tree | f81c017fbc254442275eaabbf71676f73ff21b57 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'for-linus' of git://git.kernel.dk/linux-block (diff) | |
download | linux-dev-9ef3c5112139cc5c5666ee096e05bc1e00e94015.tar.xz linux-dev-9ef3c5112139cc5c5666ee096e05bc1e00e94015.zip |
mailbox: mailbox-test: set tdev->signal to NULL after freeing
tdev->signal is not set NULL after it's freed. This will cause random
exceptions when the stale pointer is accessed after tdev->signal is
freed. Also, since tdev->signal allocation is skipped the next time
it's written, this leads to continuous fault finally leading to the
total death of the system.
Fixes: d1c2f87c9a8f ("mailbox: mailbox-test: Prevent memory leak")
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions