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
|
@ -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 New Issue