forked from enlightenment/efl
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:
parent
a231b7ed26
commit
a9d0f3a919
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue