mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 503981 - Fix thinko. r=jwalden
This commit is contained in:
parent
d142d70ad5
commit
5210359549
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user