fix a2_env_addstr memory leak bug. fix cfunction return value bug.