aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorMark Pearson <[email protected]>2023-04-02 21:31:19 -0400
committerHans de Goede <[email protected]>2023-04-03 11:36:23 +0200
commite7d796fccdc8d17c2d21817ebe4c7bf5bbfe5433 (patch)
tree0f602a55dce8e7bb81b60a98a122a8702fd8fe8e /lib/mpi/mpi-mod.c
parenta3c4c053014585dcf20f4df954791b74d8a8afcd (diff)
platform/x86: think-lmi: Fix memory leaks when parsing ThinkStation WMI strings
My previous commit introduced a memory leak where the item allocated from tlmi_setting was not freed. This commit also renames it to avoid confusion with the similarly name variable in the same function. Fixes: 8a02d70679fc ("platform/x86: think-lmi: Add possible_values for ThinkStation") Reported-by: Mirsad Todorovac <[email protected]> Link: https://lore.kernel.org/lkml/[email protected]/T/ Signed-off-by: Mark Pearson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Tested-by: Mario Limonciello <[email protected]> Tested-by: Mirsad Goran Todorovac <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions