diff options
author | 2019-07-15 14:58:44 +0800 | |
---|---|---|
committer | 2019-08-20 23:52:11 +0200 | |
commit | 6abc7622271dc520f241462e2474c71723638851 (patch) | |
tree | 36144d862b841cab7e098035209a9233abb728e8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI / APEI: Get rid of NULL_UUID_LE constant (diff) | |
download | linux-rng-6abc7622271dc520f241462e2474c71723638851.tar.xz linux-rng-6abc7622271dc520f241462e2474c71723638851.zip |
ACPI / APEI: Release resources if gen_pool_add() fails
Destroy ghes_estatus_pool and release memory allocated via vmalloc() on
errors in ghes_estatus_pool_init() in order to avoid memory leaks.
[ bp: do the labels properly and with descriptive names and massage. ]
Signed-off-by: Liguang Zhang <zhangliguang@linux.alibaba.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/1563173924-47479-1-git-send-email-zhangliguang@linux.alibaba.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions