staging: rtl8723bs: hal: Add null check after memory allocation
commit7930f8e5892fa683a1aaf2ba83d8aedc588b409e
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Sun, 16 Jun 2019 03:14:09 +0000 (16 08:44 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Jun 2019 06:59:41 +0000 (18 08:59 +0200)
tree858431e8345879d2ccf1176fa42b3689dcc64104
parent247c2ad278dd457b774d4b7ca73b6afeef13f90c
staging: rtl8723bs: hal: Add null check after memory allocation

Add NULL check post call to rtw_zmalloc.

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/sdio_ops.c