]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: pwm: fix memory leak in error path
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 17 Mar 2015 09:55:50 +0000 (10:55 +0100)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 17 Mar 2015 21:32:58 +0000 (22:32 +0100)
commit6a80ed4d2c26b5934f3bfb9beafe73a9c7946d34
tree2c52d139ae361fffbfc7d294dd348ceec0ef9313
parent96eab779e1985fd0b39426d288d3af38e3bce50c
greybus: pwm: fix memory leak in error path

Fix memory leak in connection_init error path.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/pwm.c