diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-07-31 15:10:40 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-07-31 15:10:40 +0000 |
commit | a803bc1af6596a61b1a6e6e122636f2d3aa59bcf (patch) | |
tree | 26c4f11ce54f35ce8084fecf59cbbb88400d27f7 /vcl/unx | |
parent | da166e9c1814d10acf4a25a946a6bedb0472661e (diff) |
INTEGRATION: CWS vcl80 (1.46.166); FILE MERGED
2007/07/12 09:14:38 pl 1.46.166.2: RESYNC: (1.46-1.47); FILE MERGED
2007/07/02 12:17:34 pl 1.46.166.1: #i79024# fix a leak (thanks cmc)
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/source/gdi/xfont.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/unx/source/gdi/xfont.cxx b/vcl/unx/source/gdi/xfont.cxx index 02ee75412931..bd238a3e4fb9 100644 --- a/vcl/unx/source/gdi/xfont.cxx +++ b/vcl/unx/source/gdi/xfont.cxx @@ -4,9 +4,9 @@ * * $RCSfile: xfont.cxx,v $ * - * $Revision: 1.48 $ + * $Revision: 1.49 $ * - * last change: $Author: rt $ $Date: 2007-07-27 10:02:13 $ + * last change: $Author: hr $ $Date: 2007-07-31 16:10:40 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -126,6 +126,8 @@ ExtendedFontStruct::~ExtendedFontStruct() for ( int nIdx = 0; nIdx < mpXlfd->NumEncodings(); nIdx++ ) if ( mpXFontStruct[nIdx] != NULL ) XFreeFont( mpDisplay, mpXFontStruct[nIdx] ); + + free(mpXFontStruct); } rtl_TextEncoding |