diff options
Diffstat (limited to 'src/xml')
-rw-r--r-- | src/xml/dom/qdom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/dom/qdom.cpp b/src/xml/dom/qdom.cpp index 603704f916..a36d4389e4 100644 --- a/src/xml/dom/qdom.cpp +++ b/src/xml/dom/qdom.cpp @@ -3625,7 +3625,7 @@ void QDomAttrPrivate::setNodeValue(const QString& v) t->ref.deref(); if (first) { auto removed = removeChild(first); - if (removed && !removed->ref) + if (removed && !removed->ref.loadRelaxed()) // removeChild() already deref()ed delete removed; } appendChild(t); |