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

New commits:
commit c31015130e72e88a5108fe8f7fa7f832ebbc06ea
Author: Markus Mohrhard <[email protected]>
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() :
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to