projects
/
platform
/
core
/
uifw
/
libscl-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42855b7
)
Fix issues detected by static analysis tool
34/122434/1
author
Ji-hoon Lee
<dalton.lee@samsung.com>
Fri, 31 Mar 2017 06:48:56 +0000
(15:48 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Fri, 31 Mar 2017 09:54:18 +0000
(18:54 +0900)
Change-Id: I67d6519f39b003915ec68d4b5f1f818d57aafc45
Signed-off-by: Ji-hoon Lee <dalton.lee@samsung.com>
scl/gwes/efl/sclgraphics-efl.cpp
patch
|
blob
|
history
diff --git
a/scl/gwes/efl/sclgraphics-efl.cpp
b/scl/gwes/efl/sclgraphics-efl.cpp
index
d6e8589
..
d9926dd
100644
(file)
--- a/
scl/gwes/efl/sclgraphics-efl.cpp
+++ b/
scl/gwes/efl/sclgraphics-efl.cpp
@@
-438,6
+438,9
@@
CSCLGraphicsImplEfl::draw_image(sclwindow window, const scldrawctx draw_ctx, scl
} else {
evas_object_layer_set(image_object, window_layer + 1);
}
+ } else {
+ delete object;
+ object = NULL;
}
}
}
@@
-794,6
+797,9
@@
CSCLGraphicsImplEfl::draw_text(sclwindow window, const scldrawctx draw_ctx, cons
window_layer = 29010;
}
evas_object_layer_set(text_object, window_layer + 1);
+ } else {
+ delete object;
+ object = NULL;
}
}
#ifdef TEST_NEWBACKEND