summaryrefslogtreecommitdiff
path: root/src/cairo-type3-glyph-surface.c
diff options
context:
space:
mode:
authorhk57.kim <hk57.kim@samsung.com>2016-03-16 16:42:19 +0900
committerhk57.kim <hk57.kim@samsung.com>2016-03-16 16:42:19 +0900
commitaf39a3b110b53f9ab84de1a91483b5fc952ce6c0 (patch)
tree4556e9cd9ecfa282308bd796343a6634db83eadb /src/cairo-type3-glyph-surface.c
parentea5563808b7f553121fbed5bc6b4bf908b1a8c05 (diff)
downloadcairo-accepted/tizen/common/20160406.143944.tar.gz
cairo-accepted/tizen/common/20160406.143944.tar.bz2
cairo-accepted/tizen/common/20160406.143944.zip
Change-Id: Iff4a3ad9811ba4454be3e29d8876a5f3974f4c7f Signed-off-by: hk57.kim <hk57.kim@samsung.com>
Diffstat (limited to 'src/cairo-type3-glyph-surface.c')
-rw-r--r--src/cairo-type3-glyph-surface.c6
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;
}