projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e561122
)
[coretext] Fix leak!
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 22 Feb 2016 06:31:22 +0000
(15:31 +0900)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 22 Feb 2016 06:31:22 +0000
(15:31 +0900)
src/hb-coretext.cc
patch
|
blob
|
history
diff --git
a/src/hb-coretext.cc
b/src/hb-coretext.cc
index 5d6ce9b46dae15cf43e2f213eff020b5b6344af1..0988a597c67ffb1a799a99352fc0849c48f488fc 100644
(file)
--- a/
src/hb-coretext.cc
+++ b/
src/hb-coretext.cc
@@
-108,6
+108,7
@@
create_ct_font (CGFontRef cg_font, CGFloat font_size)
CFRelease (attributes);
CTFontRef new_ct_font = CTFontCreateCopyWithAttributes (ct_font, 0.0, NULL, new_font_desc);
+ CFRelease (new_font_desc);
if (new_ct_font)
{
CFRelease (ct_font);