Diffstat (limited to 'noncore/apps/tinykate/libkate/document') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/libkate/document/katedocument.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/tinykate/libkate/document/katedocument.cpp b/noncore/apps/tinykate/libkate/document/katedocument.cpp index 6dc4fd2..a70f3aa 100644 --- a/noncore/apps/tinykate/libkate/document/katedocument.cpp +++ b/noncore/apps/tinykate/libkate/document/katedocument.cpp @@ -2221,3 +2221,3 @@ bool KateDocument::doSearch(SConfig &sc, const QString &searchFor) { if (tlen > bufLen) { - delete t; + delete [] t; bufLen = (tlen + 255) & (~255); @@ -2282,3 +2282,3 @@ bool KateDocument::doSearch(SConfig &sc, const QString &searchFor) { if (tlen > bufLen) { - delete t; + delete [] t; bufLen = (tlen + 255) & (~255); |