aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2021-03-21 12:58:57 +0100
committerHans de Goede <[email protected]>2021-03-21 17:41:24 +0100
commitcb1e50f2f0a26fd4a4b1bdf669f5814fa414577a (patch)
treeda02ea8ad7736880f7dd46c964d9f247c9874668 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentececdb8983762d08ed726c1e5308d2f77db9ffd1 (diff)
platform/x86: dell-wmi-sysman: Make it safe to call exit_foo_attributes() multiple times
During some of the error-exit paths it is possible that release_attributes_data() will get called multiple times, which results in exit_foo_attributes() getting called multiple times. Make it safe to call exit_foo_attributes() multiple times, avoiding double-free()s in this case. Note that release_attributes_data() really should only be called once during error-exit paths. This will be fixed in a separate patch and it is good to have the exit_foo_attributes() functions modified this way regardless. Fixes: e8a60aa7404b ("platform/x86: Introduce support for Systems Management Driver over WMI for Dell Systems") Cc: Divya Bharathi <[email protected]> Cc: Mario Limonciello <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions