[cairo-commit] src/cairo-type1-fallback.c
Adrian Johnson
ajohnson at kemper.freedesktop.org
Sun Oct 15 06:21:36 PDT 2006
- Previous message: [cairo-commit] rcairo/packages/cairo/ext rb_cairo.c, 1.15,
1.16 rb_cairo.h, 1.15, 1.16 rb_cairo_context.c, 1.28,
1.29 rb_cairo_font_options.c, 1.5, 1.6 rb_cairo_glyph.c, 1.8,
1.9 rb_cairo_matrix.c, 1.16, 1.17 rb_cairo_pattern.c, 1.15,
1.16 rb_cairo_surface.c, 1.27, 1.28
- Next message: [cairo-commit] 5 commits - src/cairo-pdf-surface.c
src/cairo-ps-surface.c src/cairo-scaled-font-subsets-private.h
src/cairo-truetype-subset.c src/cairo-type1-fallback.c
src/cairo-type1-subset.c
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
src/cairo-type1-fallback.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
New commits:
diff-tree 9ee0c15941b029ea3fb4fbf30e78bb917b7f8c66 (from f7068de7f78890df9fbadba8b15d1c3b58166c2d)
Author: Adrian Johnson <ajohnson at redneon.com>
Date: Sun Oct 15 22:48:43 2006 +0930
cairo-type1-fallback.c: return correct error status
diff --git a/src/cairo-type1-fallback.c b/src/cairo-type1-fallback.c
index ea4826b..fe57429 100644
--- a/src/cairo-type1-fallback.c
+++ b/src/cairo-type1-fallback.c
@@ -705,8 +705,10 @@ _cairo_type1_fallback_init (cairo_type1_
length = font->header_size + font->data_size +
font->trailer_size;
type1_subset->data = malloc (length);
- if (type1_subset->data == NULL)
+ if (type1_subset->data == NULL) {
+ status = CAIRO_STATUS_NO_MEMORY;
goto fail3;
+ }
memcpy (type1_subset->data,
_cairo_array_index (&font->contents, 0), length);
- Previous message: [cairo-commit] rcairo/packages/cairo/ext rb_cairo.c, 1.15,
1.16 rb_cairo.h, 1.15, 1.16 rb_cairo_context.c, 1.28,
1.29 rb_cairo_font_options.c, 1.5, 1.6 rb_cairo_glyph.c, 1.8,
1.9 rb_cairo_matrix.c, 1.16, 1.17 rb_cairo_pattern.c, 1.15,
1.16 rb_cairo_surface.c, 1.27, 1.28
- Next message: [cairo-commit] 5 commits - src/cairo-pdf-surface.c
src/cairo-ps-surface.c src/cairo-scaled-font-subsets-private.h
src/cairo-truetype-subset.c src/cairo-type1-fallback.c
src/cairo-type1-subset.c
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list