staging: rtl8712: check _malloc return value
authorXiaochen Wang <wangxiaochen0@gmail.com>
Sun, 6 Mar 2011 14:53:21 +0000 (22:53 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Mar 2011 21:46:38 +0000 (13:46 -0800)
commit4495c15f29a11c41d0a69a6e848307b0db7cc196
tree5cb74c6fbb4212fb8142215e45e92d35fb9e2cee
parentcd92274093876c57fa4de0f219a552911ef9adc6
staging: rtl8712: check _malloc return value

Description: The original check is wrong.

Signed-off-by: Xiaochen Wang <wangxiaochen0@gmail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8712/rtl871x_ioctl_linux.c