summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonhee Choi <mh0310.choi@samsung.com>2017-03-01 13:20:31 +0900
committerMoonhee Choi <mh0310.choi@samsung.com>2017-03-01 13:38:34 +0900
commit261a6449ac77c29228cc1bec96a680d9ee792d09 (patch)
tree19d6056be74ceca5ce1acd53e81e1023c841fc10
parent55a724260dbf4cfc642250b9ecc8b1706e69d5ee (diff)
downloadcairo-accepted/tizen_3.0_ivi.tar.gz
cairo-accepted/tizen_3.0_ivi.tar.bz2
cairo-accepted/tizen_3.0_ivi.zip
Change-Id: Ia6c9b292fa699de47f705cfbf24557167d40d966
-rwxr-xr-xsrc/cairo-recording-surface.c25
1 files changed, 15 insertions, 10 deletions
diff --git a/src/cairo-recording-surface.c b/src/cairo-recording-surface.c
index ba51fc349..2406eba97 100755
--- a/src/cairo-recording-surface.c
+++ b/src/cairo-recording-surface.c
@@ -765,7 +765,8 @@ _cairo_recording_surface_paint (void *abstract_surface,
_cairo_recording_surface_destroy_bbtree (surface);
- status = CAIRO_STATUS_SUCCESS;
+ _cairo_composite_rectangles_fini (&composite);
+ return CAIRO_STATUS_SUCCESS;
CLEANUP_SOURCE:
_cairo_pattern_fini (&command->source.base);
@@ -824,7 +825,8 @@ _cairo_recording_surface_mask (void *abstract_surface,
_cairo_recording_surface_destroy_bbtree (surface);
- status = CAIRO_STATUS_SUCCESS;
+ _cairo_composite_rectangles_fini (&composite);
+ return CAIRO_STATUS_SUCCESS;
CLEANUP_MASK:
_cairo_pattern_fini (&command->mask.base);
@@ -900,7 +902,8 @@ _cairo_recording_surface_stroke (void *abstract_surface,
_cairo_recording_surface_destroy_bbtree (surface);
- status = CAIRO_STATUS_SUCCESS;
+ _cairo_composite_rectangles_fini (&composite);
+ return CAIRO_STATUS_SUCCESS;
CLEANUP_STYLE:
_cairo_stroke_style_fini (&command->style);
@@ -970,7 +973,8 @@ _cairo_recording_surface_fill (void *abstract_surface,
_cairo_recording_surface_destroy_bbtree (surface);
- status = CAIRO_STATUS_SUCCESS;
+ _cairo_composite_rectangles_fini (&composite);
+ return CAIRO_STATUS_SUCCESS;
CLEANUP_PATH:
_cairo_path_fixed_fini (&command->path);
@@ -1077,7 +1081,8 @@ _cairo_recording_surface_show_text_glyphs (void *abstract_surface,
if (unlikely (status))
goto CLEANUP_SCALED_FONT;
- status = CAIRO_STATUS_SUCCESS;
+ _cairo_composite_rectangles_fini (&composite);
+ return CAIRO_STATUS_SUCCESS;
CLEANUP_SCALED_FONT:
cairo_scaled_font_destroy (command->scaled_font);
@@ -1136,7 +1141,7 @@ _cairo_recording_surface_copy__paint (cairo_recording_surface_t *surface,
if (unlikely (status))
goto err_source;
- status = CAIRO_STATUS_SUCCESS;
+ return CAIRO_STATUS_SUCCESS;
err_source:
_cairo_pattern_fini (&command->source.base);
@@ -1175,7 +1180,7 @@ _cairo_recording_surface_copy__mask (cairo_recording_surface_t *surface,
if (unlikely (status))
goto err_mask;
- status = CAIRO_STATUS_SUCCESS;
+ return CAIRO_STATUS_SUCCESS;
err_mask:
_cairo_pattern_fini (&command->mask.base);
@@ -1225,7 +1230,7 @@ _cairo_recording_surface_copy__stroke (cairo_recording_surface_t *surface,
if (unlikely (status))
goto err_style;
- status = CAIRO_STATUS_SUCCESS;
+ return CAIRO_STATUS_SUCCESS;
err_style:
_cairo_stroke_style_fini (&command->style);
@@ -1271,7 +1276,7 @@ _cairo_recording_surface_copy__fill (cairo_recording_surface_t *surface,
if (unlikely (status))
goto err_path;
- status = CAIRO_STATUS_SUCCESS;
+ return CAIRO_STATUS_SUCCESS;
err_path:
_cairo_path_fixed_fini (&command->path);
@@ -1348,7 +1353,7 @@ _cairo_recording_surface_copy__glyphs (cairo_recording_surface_t *surface,
if (unlikely (status))
goto err_arrays;
- status = CAIRO_STATUS_SUCCESS;
+ return CAIRO_STATUS_SUCCESS;
err_arrays:
free (command->utf8);