summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-02-09 15:29:22 +0100
committerChunEon Park <chuneon.park@samsung.com>2015-02-11 16:57:22 +0900
commit59f555f9e4310f65687d418967ff5d6aab6c36d7 (patch)
tree2866ea3300d160ecb27c64b9d6d0fbb0dc1a8288
parentcf6b11760d1762bb95b5c54f309482af225aa322 (diff)
downloadefl-59f555f9e4310f65687d418967ff5d6aab6c36d7.tar.gz
ector: on shutdown our ability to find cairo symbol may no be there anymore.
-rw-r--r--src/lib/ector/cairo/ector_renderer_cairo_shape.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/ector/cairo/ector_renderer_cairo_shape.c b/src/lib/ector/cairo/ector_renderer_cairo_shape.c
index efbb4ca76a..a85cbc0aab 100644
--- a/src/lib/ector/cairo/ector_renderer_cairo_shape.c
+++ b/src/lib/ector/cairo/ector_renderer_cairo_shape.c
@@ -201,15 +201,16 @@ _ector_renderer_cairo_shape_eo_base_destructor(Eo *obj, Ector_Renderer_Cairo_Sha
{
Eo *parent;
- USE(obj, cairo_path_destroy, );
- if (pd->path) cairo_path_destroy(pd->path);
-
eo_do(obj, parent = eo_parent_get());
eo_data_xunref(parent, pd->parent, obj);
eo_data_xunref(obj, pd->shape, obj);
eo_data_xunref(obj, pd->base, obj);
+
eo_do_super(obj, ECTOR_RENDERER_CAIRO_SHAPE_CLASS, eo_destructor());
+
+ USE(obj, cairo_path_destroy, );
+ if (pd->path) cairo_path_destroy(pd->path);
}