[pango/harfbuzz-ng] [HB] Fix blob unlock



commit 1aab84b8b2ed0f35fcf5265e6b8432d8ecc07162
Author: Behdad Esfahbod <behdad behdad org>
Date:   Wed Aug 5 15:21:48 2009 -0400

    [HB] Fix blob unlock

 pango/opentype/hb-blob.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pango/opentype/hb-blob.c b/pango/opentype/hb-blob.c
index 59c3974..910c047 100644
--- a/pango/opentype/hb-blob.c
+++ b/pango/opentype/hb-blob.c
@@ -185,7 +185,7 @@ void
 hb_blob_unlock (hb_blob_t *blob)
 {
   if (!HB_OBJECT_IS_INERT (blob)) {
-    int old_lock = _hb_reference_count_inc (blob->lock);
+    int old_lock = _hb_reference_count_dec (blob->lock);
     assert (old_lock > 0);
   }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]