src/hb-machinery-private.hh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f1f4b45ac3d228a6b11e33357725de065e2ba2be
Author: Behdad Esfahbod <beh...@behdad.org>
Date:   Thu Aug 9 00:28:40 2018 -0700

    Fix lazy_loader fini()
    
    Was creating object even if wasn't there.

diff --git a/src/hb-machinery-private.hh b/src/hb-machinery-private.hh
index fd35e406..9b582361 100644
--- 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);
   }
_______________________________________________
HarfBuzz mailing list
HarfBuzz@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to