Skip to content
Commit d2be15bd authored by Li Dongyang's avatar Li Dongyang Committed by Matthew Garrett
Browse files

thinkpad_acpi: Fix a memory leak during module exit



We should free the thinkpad_id.nummodel_str during exit as it's allocated
in get_thinkpad_module_data().

Signed-off-by: default avatarLi Dongyang <Jerry87905@gmail.com>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent e03e389d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment