summaryrefslogtreecommitdiffstats
path: root/net/core/sock.c
diff options
context:
space:
mode:
authorLiguang Zhang <zhangliguang@linux.alibaba.com>2019-07-15 08:58:44 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-08-20 23:52:11 +0200
commit6abc7622271dc520f241462e2474c71723638851 (patch)
tree36144d862b841cab7e098035209a9233abb728e8 /net/core/sock.c
parentACPI / APEI: Get rid of NULL_UUID_LE constant (diff)
downloadlinux-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 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions