diff options
author | nyamatongwe <unknown> | 2011-07-11 15:40:24 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-07-11 15:40:24 +1000 |
commit | 19b6c6abf5dc9386696681944b2ccef8cffe24fd (patch) | |
tree | 160fbe29f74b74892833d2c58602f613deecf998 /cocoa/QuartzTextStyleAttribute.h | |
parent | 2b14060f4c12bee171cf197c9ea0ae4094bdb1f4 (diff) | |
download | scintilla-mirror-19b6c6abf5dc9386696681944b2ccef8cffe24fd.tar.gz |
Fix memory leaks for font and color objects.
Diffstat (limited to 'cocoa/QuartzTextStyleAttribute.h')
-rw-r--r-- | cocoa/QuartzTextStyleAttribute.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cocoa/QuartzTextStyleAttribute.h b/cocoa/QuartzTextStyleAttribute.h index ecea73b91..33c49281c 100644 --- a/cocoa/QuartzTextStyleAttribute.h +++ b/cocoa/QuartzTextStyleAttribute.h @@ -65,6 +65,7 @@ public: fontid = ::CTFontCreateWithName((CFStringRef)@"Monaco", size, NULL); } + CFRelease(fontName); } CTFontRef getFontID() |