--- a/webengine/osswebengine/JavaScriptCore/kjs/ustring.h Fri May 08 08:25:06 2009 +0300
+++ b/webengine/osswebengine/JavaScriptCore/kjs/ustring.h Fri Jul 03 15:54:40 2009 +0100
@@ -218,7 +218,7 @@
/**
* Destructor.
*/
- ~UString() {}
+ ~UString() {m_rep=0;}
/**
* Constructs a string from an int.
@@ -377,12 +377,12 @@
* Static instance of a null string.
*/
static const UString &null();
-#ifdef KJS_DEBUG_MEM
+//#ifdef KJS_DEBUG_MEM
/**
* Clear statically allocated resources.
*/
static void globalClear();
-#endif
+//#endif
Rep* rep() const { return m_rep.get(); }
UString(PassRefPtr<Rep> r) : m_rep(r) { ASSERT(m_rep); }