projects
/
platform
/
core
/
security
/
device-policy-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
007c7b1
)
ODE: Fix memory leak
59/102459/1
author
Jaemin Ryu
<jm77.ryu@samsung.com>
Mon, 5 Dec 2016 10:30:14 +0000
(19:30 +0900)
committer
Sungbae Yoo
<sungbae.yoo@samsung.com>
Tue, 6 Dec 2016 02:04:49 +0000
(11:04 +0900)
Change-Id: I8d3619d2e926ade208e811b8cdcb6ccc233a8dec
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
tools/ode/src/ode-app.c
patch
|
blob
|
history
diff --git
a/tools/ode/src/ode-app.c
b/tools/ode/src/ode-app.c
index
f300dd5
..
04bc1f2
100755
(executable)
--- a/
tools/ode/src/ode-app.c
+++ b/
tools/ode/src/ode-app.c
@@
-136,6
+136,10
@@
static void app_control(app_control_h app_control, void* data)
else if (!strcmp(viewtype, "DECRYPT_SD_CARD"))
ad->view_type = DECRYPT_SD_CARD;
+ if (viewtype) {
+ free(viewtype);
+ }
+
elm_app_base_scale_set(1.8);
if (create_base_gui(ad) != 0) {