Bug 503981 - Fix thinko. r=jwalden

This commit is contained in:
Luke Wagner 2009-07-13 17:31:15 -07:00
parent d142d70ad5
commit 5210359549

View File

@ -136,7 +136,6 @@ struct JSTempVectorImpl<T, true>
T *newbuf = reinterpret_cast<T *>(realloc(vec.mBegin, bytes));
if (!newbuf) {
js_ReportOutOfMemory(vec.mCx);
free(vec.mBegin);
return false;
}
vec.mEnd = newbuf + (vec.mEnd - vec.mBegin);