Fix missing FTUNLOCK

Since we locked the font_draw mutex earlier, we should unlock it
before we return.

NB: Fixes Coverity CID1039382

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-07-08 14:15:41 +01:00
parent a231b7ed26
commit a9d0f3a919
1 changed files with 1 additions and 0 deletions

View File

@ -157,6 +157,7 @@ evas_common_font_source_memory_load(const char *name, const void *data, int data
if (error)
{
FT_Done_Face(fs->ft.face);
FTUNLOCK();
fs->ft.face = NULL;
free(fs);
return NULL;