diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-02-24 14:09:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-02-24 23:22:55 +0000 |
commit | 3901964b6d1fb2117cb983a7eedf80da93ba5530 (patch) | |
tree | 2a0fd9021cc24dc47186d0b7fbc700b9980c33b6 /scripting/source | |
parent | 4c51313369c8f75674dbea0706a36a19824095f9 (diff) |
coverity#704434 Non-array delete for scalars
Change-Id: Ie92de56ead7988d951fe44cf63b4e72214b1e22f
Reviewed-on: https://gerrit.libreoffice.org/2358
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'scripting/source')
-rw-r--r-- | scripting/source/stringresource/stringresource.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx index e88ff5ac740a..4be1a77c511b 100644 --- a/scripting/source/stringresource/stringresource.cxx +++ b/scripting/source/stringresource/stringresource.cxx @@ -2265,7 +2265,7 @@ bool StringResourcePersistenceImpl::implWritePropertiesFile( LocaleItem* pLocale } } - delete pIdPtrs; + delete[] pIdPtrs; } bSuccess = true; |