This loop was accessing 1 element beyond the end of the vector.
git checkout master
git pull https://gitee.com/openarkcompiler/OpenArkCompiler.git fix-mem-error
git push origin master