diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-04-05 11:20:06 -0500 |
---|---|---|
committer | Stefan Schmidt <stefan@osg.samsung.com> | 2018-04-23 20:56:23 +0200 |
commit | 94912e8df4e5005cb5fa3f3603741eb5e8bf3334 (patch) | |
tree | 3beceba5aae3e68e41a78379549fa526487e9e76 /drivers/net/ieee802154/atusb.c | |
parent | aa8f8778493c85fff480cdf8b349b1e1dcb5f243 (diff) | |
download | linux-94912e8df4e5005cb5fa3f3603741eb5e8bf3334.tar.bz2 |
ieee802154: mcr20a: Fix memory leak in mcr20a_probe
Free allocated memory for pdata before return.
Addresses-Coverity-ID: 1466096 ("Resource leak")
Fixes: 8c6ad9cc5157 ("ieee802154: Add NXP MCR20A IEEE 802.15.4 transceiver driver")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Xue Liu <liuxuenetmail@gmail.com>
Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
Diffstat (limited to 'drivers/net/ieee802154/atusb.c')
0 files changed, 0 insertions, 0 deletions