diff options
Diffstat (limited to 'src/cairo-type3-glyph-surface.c')
-rw-r--r-- | src/cairo-type3-glyph-surface.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cairo-type3-glyph-surface.c b/src/cairo-type3-glyph-surface.c index 63d2bd74c..e7f31de1a 100644 --- a/src/cairo-type3-glyph-surface.c +++ b/src/cairo-type3-glyph-surface.c @@ -431,7 +431,8 @@ _cairo_type3_glyph_surface_analyze_glyph (void *abstract_surface, null_stream = _cairo_null_stream_create (); if (unlikely (null_stream->status)) { status = null_stream->status; - _cairo_output_stream_destroy (null_stream); + cairo_status_t ret; + ret = _cairo_output_stream_destroy (null_stream); return status; } @@ -538,7 +539,8 @@ _cairo_type3_glyph_surface_emit_glyph (void *abstract_surface, mem_stream = _cairo_memory_stream_create (); status = mem_stream->status; if (unlikely (status)) { - _cairo_output_stream_destroy (mem_stream); + cairo_status_t ret; + ret = _cairo_output_stream_destroy (mem_stream); goto FAIL; } |