mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-29 09:34:05 +01:00
Fix lazy_loader fini()
Was creating object even if wasn't there.
This commit is contained in:
1 parent
1f7380944d
commit
f1f4b45ac3
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user