aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4mm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4mm.cpp')
-rw-r--r--src/qml/jsruntime/qv4mm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4mm.cpp b/src/qml/jsruntime/qv4mm.cpp
index 2d53fa3fe5..a7e485a2a2 100644
--- a/src/qml/jsruntime/qv4mm.cpp
+++ b/src/qml/jsruntime/qv4mm.cpp
@@ -340,7 +340,7 @@ std::size_t MemoryManager::sweep(bool lastSweep)
}
if (Managed *m = weak->value.asManaged()) {
if (!m->markBit) {
- weak->value = Value::emptyValue();
+ weak->value = Value::undefinedValue();
PersistentValuePrivate *n = weak->next;
weak->removeFromList();
weak = n;