зеркало из https://github.com/stride3d/freetype.git
Fix valgrind warning.
* src/base/ftoutln.c (FT_Outline_Get_Orientation): Initialize `result' array.
This commit is contained in:
Родитель
4f7851e3d2
Коммит
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>
|
||||
|
||||
[cff] Fix memory leak.
|
||||
|
|
|
@ -990,7 +990,8 @@
|
|||
|
||||
int i;
|
||||
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 )
|
||||
|
|
Загрузка…
Ссылка в новой задаче