fix realloc leak
fix strchr crash
s/MemberEntry/CgMemberEntry/g