summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-08-24 05:40:01 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2020-10-14 16:02:23 +0300
commit5afb6d203d0293512aa2c6ae098274a2a4f6ed02 (patch)
tree7ab616f89b31593965ffcdec9ff8ba9c0327c475 /tools/perf/scripts/python/exported-sql-viewer.py
parent743949466e55732ae7eef038abf291b9b39d3307 (diff)
downloadlinux-5afb6d203d0293512aa2c6ae098274a2a4f6ed02.tar.xz
watchdog: Fix memleak in watchdog_cdev_register
When watchdog_kworker is NULL, we should free wd_data before the function returns to prevent memleak. Fixes: 664a39236e718 ("watchdog: Introduce hardware maximum heartbeat in watchdog core") Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20200824024001.25474-1-dinghao.liu@zju.edu.cn Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions