cui/source/customize/CustomNotebookbarGenerator.cxx | 2 -- 1 file changed, 2 deletions(-)
New commits: commit 23229bb9e89076576da0708d27358c2a64ed0c73 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Nov 25 09:50:03 2019 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Nov 25 13:57:16 2019 +0100 fix leak Change-Id: I486fad57766c1314fde7c580fd06b2c5d225241a Reviewed-on: https://gerrit.libreoffice.org/83650 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/cui/source/customize/CustomNotebookbarGenerator.cxx b/cui/source/customize/CustomNotebookbarGenerator.cxx index f19e4c9f3c06..aa3a03a508cd 100644 --- a/cui/source/customize/CustomNotebookbarGenerator.cxx +++ b/cui/source/customize/CustomNotebookbarGenerator.cxx @@ -30,7 +30,6 @@ #include <unotools/confignode.hxx> #include <libxml/parser.h> -#define aUIItemIDLength 255 #define aUIPropertiesCount 3 using namespace css; @@ -197,7 +196,6 @@ void CustomNotebookbarGenerator::modifyCustomizedUIFile(const Sequence<OUString> { int nIdx = int(aIndex); sal_Int32 rPos = aIndex; - pProperties[nIdx] = new char[aUIItemIDLength]; pProperties[nIdx] = convertToCharPointer(aValue.getToken(rPos, ',', rPos)); } xmlDocPtr doc; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits