commit | addb3ffbca66954fb1d1791d2db2153c403f81af | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | Tue Aug 14 10:10:31 2018 -0500 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue Aug 21 16:56:20 2018 +0200 |
tree | cc05ff4f20fb9446c1742a0ac2874cd66f4566b1 | |
parent | 51474eff2bc2777061ab3658e014a37dc9d7a775 [diff] |
Bluetooth: mediatek: Fix memory leak In case memory resources for *fw* were allocated, release them before return. Addresses-Coverity-ID: 1472611 ("Resource leak") Fixes: 7237c4c9ec92 ("Bluetooth: mediatek: Add protocol support for MediaTek serial devices") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Acked-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>