[HB] Fix blob unlock

This commit is contained in:
Behdad Esfahbod 2009-08-05 15:21:48 -04:00
parent 7acb389569
commit 268cac4c9e
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}