[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - filter/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Dec 2 20:48:51 UTC 2019
filter/source/graphicfilter/icgm/chart.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 723785f4a01833ef252442e817a57798f1f7c999
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Dec 2 12:55:43 2019 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Dec 2 21:48:05 2019 +0100
new[]/delete mismatch
Change-Id: Ife47f111b3910c2eca322678f3f7a67b5cc2cd24
Reviewed-on: https://gerrit.libreoffice.org/84220
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/filter/source/graphicfilter/icgm/chart.cxx b/filter/source/graphicfilter/icgm/chart.cxx
index 439d941c33ad..a2a3ea34b050 100644
--- a/filter/source/graphicfilter/icgm/chart.cxx
+++ b/filter/source/graphicfilter/icgm/chart.cxx
@@ -36,7 +36,7 @@ CGMChart::~CGMChart()
for (const auto & pTextEntry : maTextEntryList)
{
if ( pTextEntry )
- delete pTextEntry->pText;
+ delete [] pTextEntry->pText;
}
}
More information about the Libreoffice-commits
mailing list