[0.6.57] add checking result of mem alloc

No match.