diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-10-14 22:18:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-24 15:51:00 +0200 |
commit | e866dd8aab76b6a0ee8428491e65fa5c83a6ae5a (patch) | |
tree | 7c266a7c306f343c123ac75433cf0c673a28b1c6 /Documentation/devicetree | |
parent | 1305f2b2f52af5986f44dfbb1a6fe58ae875aa61 (diff) |
greybus: fix a leak on error in gb_module_create()
We should release ->interfaces[0] as well.
Fixes: b15d97d77017 ("greybus: core: add module abstraction")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions