Fix lazy_loader fini()

Was creating object even if wasn't there.
This commit is contained in:
Behdad Esfahbod 2018-08-09 00:28:40 -07:00
parent 1f7380944d
commit f1f4b45ac3
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}