From 66591ececfba9791de06c814f5f30131e95e5fd2 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 6 Aug 2012 17:07:19 -0700 Subject: [PATCH] Remove unnecessary lifecycle bits We already set recount to INVALID when destroying. This block was not necessary. --- src/hb-font.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/hb-font.cc b/src/hb-font.cc index 48bfaab..f0683e4 100644 --- a/src/hb-font.cc +++ b/src/hb-font.cc @@ -624,9 +624,6 @@ hb_face_destroy (hb_face_t *face) { if (!hb_object_destroy (face)) return; - /* The cached shape_plans think they have a reference on us, and - * try to release it. Make sure that doesn't mess up. */ - face->header.ref_count.ref_count = HB_REFERENCE_COUNT_INVALID_VALUE; for (hb_face_t::plan_node_t *node = face->shape_plans; node; ) { hb_face_t::plan_node_t *next = node->next; -- 2.7.4