We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a69dc7 commit ed372b7Copy full SHA for ed372b7
ChangeLog
@@ -1,3 +1,10 @@
1
+2014-03-09 Alan Coopersmith <[email protected]>
2
+
3
+ Fix cppcheck 1.64 warning.
4
5
+ * src/autofit/afglobal.c (af_face_globals_new): Catch NULL pointer
6
+ dereference in case of error.
7
8
2014-03-09 Sean McBride <[email protected]>
9
10
* src/sfnt/ttcmap.c (tt_face_build_cmaps): Remove clang warning.
src/autofit/afglobal.c
@@ -332,8 +332,8 @@
332
af_face_globals_free( globals );
333
globals = NULL;
334
}
335
-
336
- globals->increase_x_height = AF_PROP_INCREASE_X_HEIGHT_MAX;
+ else
+ globals->increase_x_height = AF_PROP_INCREASE_X_HEIGHT_MAX;
337
338
Exit:
339
*aglobals = globals;
0 commit comments