change to immediately after the malloc call. This can't fail in the non-malloc case. Reviewd by YAMAMOTO Takashi.