aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4string.cpp')
-rw-r--r--src/qml/jsruntime/qv4string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4string.cpp b/src/qml/jsruntime/qv4string.cpp
index 63a8e93878..bd8a5ffccb 100644
--- a/src/qml/jsruntime/qv4string.cpp
+++ b/src/qml/jsruntime/qv4string.cpp
@@ -119,7 +119,7 @@ const ObjectVTable String::static_vtbl =
void String::destroy(Managed *that)
{
- static_cast<String*>(that)->~String();
+ static_cast<String*>(that)->d()->~Data();
}
void String::markObjects(Managed *that, ExecutionEngine *e)