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:
5a33057
)
[ft] Fix theoretical leak
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 10 Aug 2017 05:05:08 +0000
(22:05 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 10 Aug 2017 05:05:08 +0000
(22:05 -0700)
src/hb-ft.cc
patch
|
blob
|
history
diff --git
a/src/hb-ft.cc
b/src/hb-ft.cc
index
2a1868d
..
492992e
100644
(file)
--- a/
src/hb-ft.cc
+++ b/
src/hb-ft.cc
@@
-632,9
+632,9
@@
hb_ft_font_create (FT_Face ft_face,
hb_font_set_var_coords_normalized (font, coords, mm_var->num_axis);
}
- free (coords);
- free (ft_coords);
}
+ free (coords);
+ free (ft_coords);
free (mm_var);
}
#endif