OSDN Git Service

platform/x86: hp-bioscfg: Fix memory leaks in attribute packages
authorJorge Lopez <jorge.lopez2@hp.com>
Mon, 31 Jul 2023 20:31:34 +0000 (15:31 -0500)
committerHans de Goede <hdegoede@redhat.com>
Mon, 7 Aug 2023 11:34:30 +0000 (13:34 +0200)
commit467d41638113b6cab28f5c87dced2fa1f9527479
treecb63cd26d2b36f713693b12aa9a36d064899d68c
parentb0bfa7972bd61cba05ae3619e064d6a0b8b11e63
platform/x86: hp-bioscfg: Fix memory leaks in attribute packages

Address memory leaks while handling elements in packages.

Signed-off-by: Jorge Lopez <jorge.lopez2@hp.com>
Link: https://lore.kernel.org/r/20230731203141.30044-2-jorge.lopez2@hp.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c
drivers/platform/x86/hp/hp-bioscfg/int-attributes.c
drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c
drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c
drivers/platform/x86/hp/hp-bioscfg/string-attributes.c