summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-07-01 12:06:35 +0000
committerKurt Zenker <kz@openoffice.org>2005-07-01 12:06:35 +0000
commita154d5c7f08b801da30daec2221a7a4959fd3d65 (patch)
treec82dc351fbbccec63fa2efcaa0a78af1eeb8d9f0 /vcl/source
parent5594dddef29c289bb757b52f22f1bcc076f33e55 (diff)
INTEGRATION: CWS memory01 (1.14.74); FILE MERGED
2005/06/06 14:11:39 mt 1.14.74.1: Fixed MLKs...
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/gdi/metric.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/vcl/source/gdi/metric.cxx b/vcl/source/gdi/metric.cxx
index 1772da32e95e..ec260335d5a8 100644
--- a/vcl/source/gdi/metric.cxx
+++ b/vcl/source/gdi/metric.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: metric.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: rt $ $Date: 2005-03-29 11:45:44 $
+ * last change: $Author: kz $ $Date: 2005-07-01 13:06:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -644,6 +644,8 @@ bool ParseCMAP( const unsigned char* pCmap, int nLength, CmapResult& rResult )
return true;
}
+ delete[] pCodePairs;
+ delete[] pStartGlyphs;
return false;
}
@@ -731,6 +733,7 @@ bool ParseCMAP( const unsigned char* pCmap, int nLength, CmapResult& rResult )
*(pCP++) = *itInt;
// glyph mapping for non-unicode fonts not implemented
+ delete[] pStartGlyphs;
pStartGlyphs = NULL;
}