aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-06-05 09:33:52 +1000
committernyamatongwe <devnull@localhost>2011-06-05 09:33:52 +1000
commitcd920f78d675e571855233f350dd6cdf2701695a (patch)
treec638d494d7d64e038c6247cde8e7468f8a597c5c /src
parent0b6f9265d69dc66159f9442ad461d5c88d75410d (diff)
downloadscintilla-mirror-cd920f78d675e571855233f350dd6cdf2701695a.tar.gz
Stop fonts leaking. Bug #3306156.
From Marko Njezic.
Diffstat (limited to 'src')
-rw-r--r--src/ViewStyle.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx
index 58e0edea9..03a2fb42f 100644
--- a/src/ViewStyle.cxx
+++ b/src/ViewStyle.cxx
@@ -78,6 +78,7 @@ FontRealised::FontRealised(const FontSpecification &fs) {
}
FontRealised::~FontRealised() {
+ font.Release();
delete frNext;
frNext = 0;
}