summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/data')
-rw-r--r--src/xmlpatterns/data/qdecimal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/data/qdecimal.cpp b/src/xmlpatterns/data/qdecimal.cpp
index caaf6c2..8d5654e 100644
--- a/src/xmlpatterns/data/qdecimal.cpp
+++ b/src/xmlpatterns/data/qdecimal.cpp
@@ -118,7 +118,7 @@ QString Decimal::toString(const xsDecimal value)
/* If the copy constructor is used instead of QString::operator=(),
* it doesn't compile. I have no idea why. */
const QString qret(QString::fromLatin1(result));
- delete result;
+ free(result);
QString valueAsString;