summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns
diff options
context:
space:
mode:
authorPeter Hartmann <peter.hartmann@nokia.com>2010-09-22 08:31:27 (GMT)
committerPeter Hartmann <peter.hartmann@nokia.com>2010-09-22 12:20:11 (GMT)
commitaf50ff6fccf5b8828738d4cd13edb7949100b67b (patch)
tree40610db4072d83c01e548a83ce2d5e104a23888e /src/xmlpatterns
parent5120dfec47475dd37f51df4dda9a4ef8494036ab (diff)
downloadQt-af50ff6fccf5b8828738d4cd13edb7949100b67b.zip
Qt-af50ff6fccf5b8828738d4cd13edb7949100b67b.tar.gz
Qt-af50ff6fccf5b8828738d4cd13edb7949100b67b.tar.bz2
XML schema internals: fix memory leak
Patch-by: Tobias König Task-number: QTBUG-8948
Diffstat (limited to 'src/xmlpatterns')
-rw-r--r--src/xmlpatterns/schema/qxsdtypechecker.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmlpatterns/schema/qxsdtypechecker.cpp b/src/xmlpatterns/schema/qxsdtypechecker.cpp
index 4bb03f5..217932e 100644
--- a/src/xmlpatterns/schema/qxsdtypechecker.cpp
+++ b/src/xmlpatterns/schema/qxsdtypechecker.cpp
@@ -171,6 +171,7 @@ XsdTypeChecker::XsdTypeChecker(const XsdSchemaContext::Ptr &context, const QVect
XsdTypeChecker::~XsdTypeChecker()
{
+ delete m_reflection;
}
QString XsdTypeChecker::normalizedValue(const QString &value, const XsdFacet::Hash &facets)