summaryrefslogtreecommitdiff
path: root/pango/opentype/hb-blob.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/opentype/hb-blob.c')
-rw-r--r--pango/opentype/hb-blob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/opentype/hb-blob.c b/pango/opentype/hb-blob.c
index 59c3974c..910c0478 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);
}