summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/functions/qaggregatefns_p.h
diff options
context:
space:
mode:
authorSami Rosendahl <ext-sami.1.rosendahl@nokia.com>2012-01-24 11:01:27 +0200
committerQt by Nokia <qt-info@nokia.com>2012-01-27 16:38:37 +0100
commit900091e51ead9594d0b1f513cabeba0ebc067dce (patch)
tree1857b01f2404eb97ffc0f0fbd6b86304c386d3d1 /src/xmlpatterns/functions/qaggregatefns_p.h
parent04021958973a8dcb357fad3e6a3e82a8f73fa0fc (diff)
downloadqtxmlpatterns-900091e51ead9594d0b1f513cabeba0ebc067dce.tar.gz
Fix delete/free mismatch in QtXmlPatterns
Fixes valgrind warning like this: Mismatched free() / delete / delete [] at: operator delete(void*) (vg_replace_malloc.c:387) by: QPatternist::Decimal::toString(double) (qdecimal.cpp:121) Reason for the warning is that toString above calls qdtoa the result of which should be released with free(), not delete. Change-Id: Iff07f2d07a4d65c642167fd07b980c6bdd15c117 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/xmlpatterns/functions/qaggregatefns_p.h')
0 files changed, 0 insertions, 0 deletions