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:
parent
c5fc7dd447
commit
8963bb0def
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ CGMChart::~CGMChart()
|
|||
for (const auto & pTextEntry : maTextEntryList)
|
||||
{
|
||||
if ( pTextEntry )
|
||||
delete pTextEntry->pText;
|
||||
delete [] pTextEntry->pText;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue