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:
e49a38b
)
Fix assertion failure
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 9 Aug 2018 04:42:18 +0000
(21:42 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 9 Aug 2018 04:42:18 +0000
(21:42 -0700)
https://bugzilla.mozilla.org/show_bug.cgi?id=1476334
src/hb-machinery-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-machinery-private.hh
b/src/hb-machinery-private.hh
index
119625c
..
39a7fd1
100644
(file)
--- a/
src/hb-machinery-private.hh
+++ b/
src/hb-machinery-private.hh
@@
-639,7
+639,8
@@
struct hb_lazy_loader_t
inline void set_stored (Stored *instance_)
{
- assert (instance == nullptr);
+ if (instance)
+ thiz ()->destroy (instance);
instance = instance_;
}