[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Thu Aug 9 07:29:52 UTC 2018


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

New commits:
commit f1f4b45ac3d228a6b11e33357725de065e2ba2be
Author: Behdad Esfahbod <behdad at 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);
   }


More information about the HarfBuzz mailing list