freetype2/uninitialized-variable.patch

13 lines
482 B
Diff

diff -ru freetype-2.3.7.orig//src/base/ftobjs.c freetype-2.3.7/src/base/ftobjs.c
--- freetype-2.3.7.orig//src/base/ftobjs.c 2008-06-10 06:57:53.000000000 +0200
+++ freetype-2.3.7/src/base/ftobjs.c 2008-08-18 16:16:38.000000000 +0200
@@ -1713,7 +1713,7 @@
FT_Error error;
FT_Driver driver;
FT_Memory memory;
- FT_Stream stream;
+ FT_Stream stream = NULL;
FT_Face face = 0;
FT_ListNode node = 0;
FT_Bool external_stream;