commit | 35a64f2c492867e5e404b7620c5784603caae8f1 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@hovoldconsulting.com> | Fri Feb 13 14:58:04 2015 +0800 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Tue Feb 17 16:31:27 2015 -0800 |
tree | 9635a63565f163dfbe7549cb3771b59780b87ff4 | |
parent | 036aad9d0224f6f29c08abe102df709a27f68c17 [diff] |
greybus: gpio: fix memory leaks at init and exit Fix three related memory leaks in the init an exit callbacks, where the gpio-lines array was never freed at all and the controller data wasn't freed in the init error path. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>