diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-12 16:53:50 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-13 08:04:49 +0100 |
commit | 14c42d4b3c60cb2a95cb73c9b20e51a29e5f9810 (patch) | |
tree | ec6f7a7861c149988c44e57c20d163c55ffa7aea /vcl/source/outdev | |
parent | 13ca560d136e833efabef843c57771c96d865964 (diff) |
Fix memory leak
Change-Id: I346a88a802ed5b1f373cd10cff794f93cf6d909a
Diffstat (limited to 'vcl/source/outdev')
-rw-r--r-- | vcl/source/outdev/font.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx index ef3929dc4fa2..923347c1d74a 100644 --- a/vcl/source/outdev/font.cxx +++ b/vcl/source/outdev/font.cxx @@ -926,6 +926,7 @@ vcl::Font OutputDevice::GetDefaultFont( DefaultFontType nType, LanguageType eLan aFont.SetName( pFontInstance->maFontSelData.mpFontData->GetFamilyName() ); else aFont.SetName( pFontInstance->maFontSelData.maTargetName ); + pOutDev->mpFontCache->Release(pFontInstance); } } } |