mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
ipmi: Free the address list on module cleanup
Otherwise the memory is leaked. Signed-off-by: Corey Minyard <cminyard@mvista.com>
This commit is contained in:
parent
c75c5075e5
commit
36e398d7ab
1 changed files with 2 additions and 0 deletions
|
|
@ -1901,6 +1901,8 @@ static void cleanup_ipmi_ssif(void)
|
|||
|
||||
i2c_del_driver(&ssif_i2c_driver);
|
||||
|
||||
kfree(ssif_i2c_driver.address_list);
|
||||
|
||||
platform_driver_unregister(&ipmi_driver);
|
||||
|
||||
free_ssif_clients();
|
||||
|
|
|
|||
Loading…
Reference in a new issue