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:
1f73809
)
Fix lazy_loader fini()
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 9 Aug 2018 07:28:40 +0000
(
00:28
-0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 9 Aug 2018 07:28:40 +0000
(
00:28
-0700)
Was creating object even if wasn't there.
src/hb-machinery-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-machinery-private.hh
b/src/hb-machinery-private.hh
index
fd35e40
..
9b58236
100644
(file)
--- a/
src/hb-machinery-private.hh
+++ b/
src/hb-machinery-private.hh
@@
-609,7
+609,7
@@
struct hb_lazy_loader_t
}
inline void fini (void)
{
- Stored *p = instance.get ();
+ Stored *p =
this->
instance.get ();
if (p)
thiz ()->destroy (p);
}