new[]/delete mismatch

Change-Id: Ife47f111b3910c2eca322678f3f7a67b5cc2cd24
Reviewed-on: https://gerrit.libreoffice.org/84218
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara 2019-12-02 12:55:43 +00:00
parent c5fc7dd447
commit 8963bb0def

View file

@ -36,7 +36,7 @@ CGMChart::~CGMChart()
for (const auto & pTextEntry : maTextEntryList)
{
if ( pTextEntry )
delete pTextEntry->pText;
delete [] pTextEntry->pText;
}
}