]> git.baikalelectronics.ru Git - kernel.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)
commiteed1b190d36421bc39c135fd8305a7975485f144
tree93817d3cffc7352fb9fa8f9a9efaa6c4b57f2e89
parent1bbd1afed790e8807b889091ca131a49a3bba68c
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