summaryrefslogtreecommitdiffstats
path: root/tools/assistant/lib/fulltextsearch/qindexwriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/assistant/lib/fulltextsearch/qindexwriter.cpp')
-rw-r--r--tools/assistant/lib/fulltextsearch/qindexwriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/assistant/lib/fulltextsearch/qindexwriter.cpp b/tools/assistant/lib/fulltextsearch/qindexwriter.cpp
index 357569c..1f579eb 100644
--- a/tools/assistant/lib/fulltextsearch/qindexwriter.cpp
+++ b/tools/assistant/lib/fulltextsearch/qindexwriter.cpp
@@ -3,7 +3,7 @@
** Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team.
** All rights reserved.
**
-** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
**
** This file may be used under the terms of the GNU Lesser General Public
@@ -88,7 +88,7 @@ void QCLuceneIndexWriter::addIndexes(const QList<QCLuceneIndexReader*> &readers)
readerArray[i] = (readers.at(i))->d->reader;
d->writer->addIndexes(readerArray);
- delete readerArray;
+ delete [] readerArray;
}
void QCLuceneIndexWriter::addDocument(QCLuceneDocument &doc,