[Libreoffice-commits] core.git: filter/source

Markus Mohrhard markus.mohrhard at googlemail.com
Thu Dec 25 12:18:46 PST 2014


 filter/source/graphicfilter/icgm/bundles.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c31015130e72e88a5108fe8f7fa7f832ebbc06ea
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Thu Dec 25 21:10:34 2014 +0100

    fix new[]/delete mismatch
    
    Found by asan. E.g. ooo45229-2.cgm

diff --git a/filter/source/graphicfilter/icgm/bundles.cxx b/filter/source/graphicfilter/icgm/bundles.cxx
index 17d1156..e91c352 100644
--- a/filter/source/graphicfilter/icgm/bundles.cxx
+++ b/filter/source/graphicfilter/icgm/bundles.cxx
@@ -94,7 +94,7 @@ FontEntry::FontEntry() :
 FontEntry::~FontEntry()
 {
     delete [] pFontName;
-    delete pCharSetValue;
+    delete[] pCharSetValue;
 }
 
 CGMFList::CGMFList() :


More information about the Libreoffice-commits mailing list