Changeset 27842 in webkit for trunk/JavaScriptCore/kjs/ustring.cpp
- Timestamp:
- Nov 15, 2007, 10:54:09 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/ustring.cpp
r27810 r27842 177 177 UString::Rep UString::Rep::empty = { 0, 0, 1, 0, 0, &UString::Rep::empty, reinterpret_cast<UChar*>(&almostUChar), 0, 0, 0, 0 }; 178 178 const int normalStatBufferSize = 4096; 179 static char *statBuffer = 0; 179 static char *statBuffer = 0; // FIXME: This buffer is never deallocated. 180 180 static int statBufferSize = 0; 181 181 … … 887 887 } 888 888 889 #ifdef KJS_DEBUG_MEM890 void UString::globalClear()891 {892 delete [] statBuffer;893 statBuffer = 0;894 statBufferSize = 0;895 }896 #endif897 898 889 UString &UString::operator=(const char *c) 899 890 {
Note:
See TracChangeset
for help on using the changeset viewer.