aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDongliang Mu <[email protected]>2023-03-09 12:01:07 +0800
committerHans de Goede <[email protected]>2023-03-20 13:11:55 +0100
commitda0ba0ccce54059d6c6b788a75099bfce95126da (patch)
tree54b3c0ac4f549ea19b372529b7233639f8a7711b /tools/perf/scripts/python/export-to-postgresql.py
parent1a0009abfa7893b9cfcd3884658af1cbee6b26ce (diff)
platform/x86/intel: vsec: Fix a memory leak in intel_vsec_add_aux
The first error handling code in intel_vsec_add_aux misses the deallocation of intel_vsec_dev->resource. Fix this by adding kfree(intel_vsec_dev->resource) in the error handling code. Reviewed-by: David E. Box <[email protected]> Signed-off-by: Dongliang Mu <[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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions