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:
b306f96
)
Do not leak hb_language_t on hb_language_item_t destruction
author
Konstantin Ritt
<ritt.ks@gmail.com>
Tue, 27 Jan 2015 07:23:07 +0000
(11:23 +0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Tue, 27 Jan 2015 18:06:56 +0000
(10:06 -0800)
src/hb-common.cc
patch
|
blob
|
history
diff --git
a/src/hb-common.cc
b/src/hb-common.cc
index
8837cef
..
05a1f9c
100644
(file)
--- a/
src/hb-common.cc
+++ b/
src/hb-common.cc
@@
-265,6
+265,7
@@
retry:
*lang = key;
if (!hb_atomic_ptr_cmpexch (&langs, first_lang, lang)) {
+ lang->finish ();
free (lang);
goto retry;
}