Unreleased lock typo in cairo-scaled-font.c

One path through _cairo_scaled_font_text_to_glyphs grabbed
the mutex but didn't release it, causing hangs in all
text rendering on the mac.
This commit is contained in:
Brian Ewins 2007-02-10 00:20:40 +00:00
parent a37f21cb17
commit eec62c2975

View file

@ -809,7 +809,7 @@ _cairo_scaled_font_text_to_glyphs (cairo_scaled_font_t *scaled_font,
glyphs, num_glyphs);
if (status != CAIRO_INT_STATUS_UNSUPPORTED)
return status;
goto DONE;
}
status = _cairo_utf8_to_ucs4 ((unsigned char*)utf8, -1, &ucs4, num_glyphs);