summaryrefslogtreecommitdiff
path: root/src/lib/evas/common
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-07-08 14:15:41 +0100
committerChris Michael <cp.michael@samsung.com>2013-07-08 14:15:41 +0100
commita9d0f3a9198bd1bcd8ae415f585c2ca30335231d (patch)
tree0e5e7d36ca4455ff214bed03c60110d2e50d3387 /src/lib/evas/common
parenta231b7ed26d1e3220c5a56faa1ed5fc178304542 (diff)
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>
Diffstat (limited to 'src/lib/evas/common')
-rw-r--r--src/lib/evas/common/evas_font_load.c1
1 files changed, 1 insertions, 0 deletions
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
157 if (error) 157 if (error)
158 { 158 {
159 FT_Done_Face(fs->ft.face); 159 FT_Done_Face(fs->ft.face);
160 FTUNLOCK();
160 fs->ft.face = NULL; 161 fs->ft.face = NULL;
161 free(fs); 162 free(fs);
162 return NULL; 163 return NULL;