[cairo-commit] src/cairo-cff-subset.c

Adrian Johnson ajohnson at kemper.freedesktop.org
Thu Jul 5 06:12:40 PDT 2012


 src/cairo-cff-subset.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 1cac6e7fcc88b8545a9c56bf3265f37418957bb7
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Thu Jul 5 22:41:28 2012 +0930

    cff: initialise variable to prevent valgrind warning

diff --git a/src/cairo-cff-subset.c b/src/cairo-cff-subset.c
index b3b6026..d2bc230 100644
--- a/src/cairo-cff-subset.c
+++ b/src/cairo-cff-subset.c
@@ -3193,6 +3193,7 @@ _cairo_cff_font_fallback_create (cairo_scaled_font_subset_t  *scaled_font_subset
     cff_index_init (&font->strings_subset_index);
     font->global_subs_used = NULL;
     font->local_subs_used = NULL;
+    font->subset_subroutines = FALSE;
     font->fdselect = NULL;
     font->fd_dict = NULL;
     font->fd_private_dict = NULL;


More information about the cairo-commit mailing list