and fix a ton more minor performance issues

This commit is contained in:
DarthArgus
2014-10-27 22:39:57 -07:00
parent 14eaf713d0
commit c9c39d5713
97 changed files with 266 additions and 376 deletions
@@ -821,8 +821,7 @@ void getStringArray(const LocalObjectArrayRefParam & array, std::vector<const Un
std::vector<const Unicode::String *>::iterator stringsIter = strings.begin();
for (jsize i = 0; i < count; ++i, ++stringsIter)
{
if (*stringsIter != 0)
delete *stringsIter;
delete *stringsIter;
stringElement = static_cast<jstring>(env->GetObjectArrayElement(arrayRef, i));
if (stringElement != 0)