diff options
author | Liguang Zhang <zhangliguang@linux.alibaba.com> | 2019-07-15 08:58:44 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-08-20 23:52:11 +0200 |
commit | 6abc7622271dc520f241462e2474c71723638851 (patch) | |
tree | 36144d862b841cab7e098035209a9233abb728e8 /Documentation/fb/lxfb.rst | |
parent | ACPI / APEI: Get rid of NULL_UUID_LE constant (diff) | |
download | linux-6abc7622271dc520f241462e2474c71723638851.tar.xz linux-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 'Documentation/fb/lxfb.rst')
0 files changed, 0 insertions, 0 deletions