-
Rui Miguel Silva authored
After freeing each individual power_supply, free the top controller, if not it will leak memory at each module insert/remove. Signed-off-by:
Rui Miguel Silva <rui.silva@linaro.org> Reported-by:
Johan Hovold <johan@hovoldconsulting.com> Reviewed-by:
Johan Hovold <johan@hovoldconsulting.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@google.com>
23f25ba6