[US13.2][RC492] Add comments and check malloc return