Fix valgrind warning.
* src/base/ftoutln.c (FT_Outline_Get_Orientation): Initialize `result' array.
This commit is contained in:
parent
4f7851e3d2
commit
8bebaa74cc
|
@ -1,3 +1,10 @@
|
||||||
|
2010-06-27 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
Fix valgrind warning.
|
||||||
|
|
||||||
|
* src/base/ftoutln.c (FT_Outline_Get_Orientation): Initialize
|
||||||
|
`result' array.
|
||||||
|
|
||||||
2010-06-27 Werner Lemberg <wl@gnu.org>
|
2010-06-27 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
[cff] Fix memory leak.
|
[cff] Fix memory leak.
|
||||||
|
|
|
@ -990,7 +990,8 @@
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
FT_Pos ray_y[3];
|
FT_Pos ray_y[3];
|
||||||
FT_Orientation result[3];
|
FT_Orientation result[3] =
|
||||||
|
{ FT_ORIENTATION_NONE, FT_ORIENTATION_NONE, FT_ORIENTATION_NONE };
|
||||||
|
|
||||||
|
|
||||||
if ( !outline || outline->n_points <= 0 )
|
if ( !outline || outline->n_points <= 0 )
|
||||||
|
|
Loading…
Reference in New Issue