From a9d0f3a9198bd1bcd8ae415f585c2ca30335231d Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 8 Jul 2013 14:15:41 +0100 Subject: [PATCH] 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 --- src/lib/evas/common/evas_font_load.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/evas/common/evas_font_load.c b/src/lib/evas/common/evas_font_load.c index 64422f6cd3..c6d6ce3eda 100644 --- a/src/lib/evas/common/evas_font_load.c +++ b/src/lib/evas/common/evas_font_load.c @@ -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;