]> git.karo-electronics.de Git - linux-beck.git/commit
staging: rtl8723au: Fix resource leak
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 27 Sep 2015 19:48:19 +0000 (21:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:29:02 +0000 (04:29 +0200)
commit7d76173d40bef0516068dbf38195470abf979c8a
tree93817d3cffc7352fb9fa8f9a9efaa6c4b57f2e89
parent9da4aa48d04bbdbae3c959809e14da2bf0c53f61
staging: rtl8723au: Fix resource leak

Firmware was not released properly if kmemdup fails.

Addresses-Coverity-Id: 1269118
Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Acked-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c