Commit 36e398d7 authored by Corey Minyard's avatar Corey Minyard

ipmi: Free the address list on module cleanup

Otherwise the memory is leaked.
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent c75c5075
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment