ector software: make a pair of ref/unref. 16/193716/2
authorHermet Park <hermetpark@gmail.com>
Fri, 23 Nov 2018 11:41:27 +0000 (20:41 +0900)
committerSubhransu Mohanty <sub.mohanty@samsung.com>
Mon, 26 Nov 2018 05:37:00 +0000 (05:37 +0000)
public_shape missed get xunref,
it won't reache to zero reference.

@fix

Change-Id: I26e7be6c7fecfeffc11ec2e1c7e9b81c910f9de1

src/lib/ector/software/ector_renderer_software_shape.c

index d762c0e..d0205d1 100644 (file)
@@ -790,8 +790,10 @@ _ector_renderer_software_shape_efl_object_destructor(Eo *obj, Ector_Renderer_Sof
    free(pd->task);
 
    efl_data_xunref(pd->base->surface, pd->surface, obj);
-   efl_data_xunref(obj, pd->shape, obj);
    efl_data_xunref(obj, pd->base, obj);
+   efl_data_xunref(obj, pd->shape, obj);
+   efl_data_xunref(obj, pd->public_shape, obj);
+
    efl_destructor(efl_super(obj, ECTOR_RENDERER_SOFTWARE_SHAPE_CLASS));
 }