aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLukasz Luba <[email protected]>2021-03-15 09:31:23 +0000
committerChanwoo Choi <[email protected]>2021-04-08 13:14:45 +0900
commit8b50a7995770d41a2e8d9c422cd2882aca0dedd2 (patch)
tree9b6462200080e5b209c9f8831c96b9065761c14f /tools/perf/scripts/python/export-to-sqlite.py
parent75d1b0b6677054d9b3f0186d014daf461abca68c (diff)
PM / devfreq: Unlock mutex and free devfreq struct in error path
The devfreq->lock is held for time of setup. Release the lock in the error path, before jumping to the end of the function. Change the goto destination which frees the allocated memory. Cc: v5.9+ <[email protected]> # v5.9+ Fixes: 4dc3bab8687f ("PM / devfreq: Add support delayed timer for polling mode") Signed-off-by: Lukasz Luba <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions