From 518b7e30390cf333f37c709fae9056e7c2930f46 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Thu, 14 Aug 2014 21:59:14 +0200 Subject: [PATCH] Minor. --- lib/tabytecode.c | 2 +- lib/taglobal.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/tabytecode.c b/lib/tabytecode.c index d5d4064..8aad671 100644 --- a/lib/tabytecode.c +++ b/lib/tabytecode.c @@ -2264,7 +2264,7 @@ TA_sfnt_build_glyph_instructions(SFNT* sfnt, * adding some bytes for the necessary overhead. */ ins_len = hints->num_points - * (1000 + (font->deltas_data_head != NULL) ? 400 : 0); + * (1000 + ((font->deltas_data_head != NULL) ? 400 : 0)); ins_buf = (FT_Byte*)malloc(ins_len); if (!ins_buf) return FT_Err_Out_Of_Memory; diff --git a/lib/taglobal.c b/lib/taglobal.c index a32bdb4..cb13e5b 100644 --- a/lib/taglobal.c +++ b/lib/taglobal.c @@ -466,7 +466,6 @@ ta_face_globals_free(TA_FaceGlobals globals) globals->face = NULL; free(globals); - globals = NULL; } } -- 2.11.4.GIT