sim: Be sure of calling freeargv() after successfully call buildargv().