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>
Showing
- drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c 6 additions, 0 deletionsdrivers/platform/x86/hp/hp-bioscfg/enum-attributes.c
- drivers/platform/x86/hp/hp-bioscfg/int-attributes.c 5 additions, 0 deletionsdrivers/platform/x86/hp/hp-bioscfg/int-attributes.c
- drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c 6 additions, 0 deletionsdrivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c
- drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c 8 additions, 0 deletionsdrivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c
- drivers/platform/x86/hp/hp-bioscfg/string-attributes.c 3 additions, 0 deletionsdrivers/platform/x86/hp/hp-bioscfg/string-attributes.c
Loading
Please register or sign in to comment