Changeset 20991 in webkit
- Timestamp:
- Apr 21, 2007 1:09:45 AM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r20977 r20991 1 2007-04-21 Mitz Pettel <mitz@webkit.org> 2 3 Reviewed by Adam. 4 5 - fix http://bugs.webkit.org/show_bug.cgi?id=13428 6 REGRESSION (r20973-r20976): Failing ecma/Array/15.4.4.5-3.js 7 8 - fix http://bugs.webkit.org/show_bug.cgi?id=13429 9 REGRESSION (r20973-r20976): Crashing in fast/dom/plugin-attributes-enumeration.html 10 11 * kjs/array_object.cpp: 12 (ArrayInstance::sort): Free the old storage, not the new one. 13 1 14 2007-04-20 Maciej Stachowiak <mjs@apple.com> 2 15 -
trunk/JavaScriptCore/kjs/array_object.cpp
r20974 r20991 318 318 memcpy(storageCopy, storage, capacity * sizeof(JSValue*)); 319 319 mergesort(storageCopy, lengthNotIncludingUndefined, sizeof(JSValue *), compareByStringForQSort); 320 fastFree(storage); 320 321 storage = storageCopy; 321 fastFree(storage);322 322 execForCompareByStringForQSort = oldExec; 323 323 return; … … 385 385 memcpy(storageCopy, storage, capacity * sizeof(JSValue*)); 386 386 mergesort(storageCopy, lengthNotIncludingUndefined, sizeof(JSValue *), compareWithCompareFunctionForQSort); 387 fastFree(storage); 387 388 storage = storageCopy; 388 389 compareWithCompareFunctionArguments = oldArgs;
Note: See TracChangeset
for help on using the changeset viewer.