diff options
| author | Barnabás Pőcze <[email protected]> | 2021-09-04 17:56:26 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-09-14 12:26:02 +0200 |
| commit | 1975718c488a39128f1f515b23ae61a5a214cc3d (patch) | |
| tree | e84bc4d9ed9b6673121202b39a7a16ded5d9429e /tools/perf/scripts/python | |
| parent | 1c23ab912810f7d204c2f5873b3b8eaa05da7815 (diff) | |
platform/x86: wmi: do not fail if disabling fails
Previously, `__query_block()` would fail if the
second WCxx method call failed. However, the
WQxx method might have succeeded, and potentially
allocated memory for the result. Instead of
throwing away the result and potentially
leaking memory, ignore the result of
the second WCxx call.
Signed-off-by: Barnabás Pőcze <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions