c1e7151eb6
after calling malloc() , be sure to determine whether the allocating for memory space is successful Signed-off-by: ganjing <ganjing@uniontech.com>