summaryrefslogtreecommitdiff
path: root/src/lib/evas/common
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-07-08 14:15:24 +0100
committerChris Michael <cp.michael@samsung.com>2013-07-08 14:15:24 +0100
commita231b7ed26d1e3220c5a56faa1ed5fc178304542 (patch)
tree2bbaaf1783e93894cd357a2b4cabc3aad05d3601 /src/lib/evas/common
parent1140dbceeb7838925d59e1f90829edebdd53612f (diff)
Fix formatting
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.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/lib/evas/common/evas_font_load.c b/src/lib/evas/common/evas_font_load.c
index 5ede331f2d..64422f6cd3 100644
--- a/src/lib/evas/common/evas_font_load.c
+++ b/src/lib/evas/common/evas_font_load.c
@@ -153,13 +153,15 @@ evas_common_font_source_memory_load(const char *name, const void *data, int data
153 fs->file = NULL; 153 fs->file = NULL;
154 FTLOCK(); 154 FTLOCK();
155 error = FT_Select_Charmap(fs->ft.face, ft_encoding_unicode); 155 error = FT_Select_Charmap(fs->ft.face, ft_encoding_unicode);
156 if (error) 156
157 { 157 if (error)
158 FT_Done_Face(fs->ft.face); 158 {
159 fs->ft.face = NULL; 159 FT_Done_Face(fs->ft.face);
160 free(fs); 160 fs->ft.face = NULL;
161 return NULL; 161 free(fs);
162 } 162 return NULL;
163 }
164
163 FTUNLOCK(); 165 FTUNLOCK();
164 fs->ft.orig_upem = fs->ft.face->units_per_EM; 166 fs->ft.orig_upem = fs->ft.face->units_per_EM;
165 fs->references = 1; 167 fs->references = 1;