[patch] greybus: fix a leak on error in gb_module_create()

Johan Hovold johan at kernel.org
Sat Oct 15 09:15:36 UTC 2016


On Fri, Oct 14, 2016 at 10:18:21PM +0300, Dan Carpenter wrote:
> We should release ->interfaces[0] as well.

Indeed. Thanks for the fix.

> Fixes: b15d97d77017 ("greybus: core: add module abstraction")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Acked-by: Johan Hovold <johan at kernel.org>

Johan


More information about the devel mailing list