summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-03-16 09:22:46 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-03-16 09:22:46 -0400
commitdf12843512b4304410746411e10b6dc986e24989 (patch)
treec32184ade44a4d9e4049c7851cb71485d1f27665 /src
parent114d010fc122a9cb1ca6a2d5f87691f13950903d (diff)
evas: Fix incorrect expression in efl_canvas_surface_tbm
This patch fixes an issue detected by Coverity where 'obj' is written twice with the same value CID1353365 @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/canvas/efl_canvas_surface_tbm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_surface_tbm.c b/src/lib/evas/canvas/efl_canvas_surface_tbm.c
index 10351bbc90..c4dcb6f15b 100644
--- a/src/lib/evas/canvas/efl_canvas_surface_tbm.c
+++ b/src/lib/evas/canvas/efl_canvas_surface_tbm.c
@@ -30,7 +30,9 @@ _efl_canvas_surface_tbm_eo_base_constructor(Eo *eo, Efl_Canvas_Surface_Tbm_Data
30EOLIAN static void 30EOLIAN static void
31_efl_canvas_surface_tbm_eo_base_destructor(Eo *eo, Efl_Canvas_Surface_Tbm_Data *pd) 31_efl_canvas_surface_tbm_eo_base_destructor(Eo *eo, Efl_Canvas_Surface_Tbm_Data *pd)
32{ 32{
33 Evas_Object_Protected_Data *obj = obj = eo_data_scope_get(eo, EVAS_OBJECT_CLASS); 33 Evas_Object_Protected_Data *obj;
34
35 obj = eo_data_scope_get(eo, EVAS_OBJECT_CLASS);
34 36
35 ENFN->image_native_shutdown(ENDT, EVAS_NATIVE_SURFACE_TBM); 37 ENFN->image_native_shutdown(ENDT, EVAS_NATIVE_SURFACE_TBM);
36 eo_data_unref(eo, pd->base); 38 eo_data_unref(eo, pd->base);