From cf26510dbbd8d38486e6ba423800db6427ade332 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 11 May 2012 03:35:08 +0200 Subject: [PATCH] Some more... Done. I promise. --- src/hb-object-private.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-object-private.hh b/src/hb-object-private.hh index 0cb5ebd42..23c1a44d3 100644 --- a/src/hb-object-private.hh +++ b/src/hb-object-private.hh @@ -196,6 +196,7 @@ struct _hb_object_header_t { } inline void trace (const char *function) const { + if (unlikely (!this)) return; DEBUG_MSG (OBJECT, (void *) this, "refcount=%d %s", this ? ref_count.get_unsafe () : 0,