summaryrefslogtreecommitdiffstats
path: root/tools/assistant/lib/fulltextsearch/qsort.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2011-01-07 15:43:46 (GMT)
committerChristian Kandeler <christian.kandeler@nokia.com>2011-01-07 15:45:26 (GMT)
commiteab9b566d8e7cd98dd69cbcfc39393192a9e6efa (patch)
tree173ee3570867a35e1fdafbb8ecf413e33b7f1d5e /tools/assistant/lib/fulltextsearch/qsort.cpp
parent55b0db65877ef5cfb6616f11988c990e2c207bd6 (diff)
downloadQt-eab9b566d8e7cd98dd69cbcfc39393192a9e6efa.zip
Qt-eab9b566d8e7cd98dd69cbcfc39393192a9e6efa.tar.gz
Qt-eab9b566d8e7cd98dd69cbcfc39393192a9e6efa.tar.bz2
CLucene: Use the right delete operator.
Task-number: QTBUG-15787 Task-number: QTBUG-15788
Diffstat (limited to 'tools/assistant/lib/fulltextsearch/qsort.cpp')
-rw-r--r--tools/assistant/lib/fulltextsearch/qsort.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/assistant/lib/fulltextsearch/qsort.cpp b/tools/assistant/lib/fulltextsearch/qsort.cpp
index d9375bf..3263195 100644
--- a/tools/assistant/lib/fulltextsearch/qsort.cpp
+++ b/tools/assistant/lib/fulltextsearch/qsort.cpp
@@ -84,7 +84,7 @@ void QCLuceneSort::setSort(const QStringList &fieldNames)
for (int i = 0; i < fieldNames.count(); ++i)
delete [] nameArray[i];
- delete nameArray;
+ delete [] nameArray;
}
void QCLuceneSort::setSort(const QString &field, bool reverse)