summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Swierczek <t.swierczek@samsung.com>2019-08-27 05:24:35 (GMT)
committerTomasz Swierczek <t.swierczek@samsung.com>2019-08-27 05:24:35 (GMT)
commit2b3a28ccc014b2c836baf6377df398533e8615d8 (patch)
tree773affc6c937a0330cb09b754188c26c08747eb7
parent34adffffdb13b88c5117c27f6785c0184f9179a1 (diff)
downloadlibwebappenc-accepted/tizen_unified.zip
libwebappenc-accepted/tizen_unified.tar.gz
libwebappenc-accepted/tizen_unified.tar.bz2
Change-Id: Ie4dfdc2c01e7800c962b5216d973c67782e86d6d
-rw-r--r--srcs/key_handler.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/srcs/key_handler.c b/srcs/key_handler.c
index c198d19..d5e2eab 100644
--- a/srcs/key_handler.c
+++ b/srcs/key_handler.c
@@ -649,16 +649,12 @@ int load_preloaded_app_deks()
// close dek store dir fd not to affect the traverse_directory call
closedir(dir);
- dir = NULL;
ret = traverse_directory(dek_store_path, _entry_callback_load_preloaded_adeks);
if (ret != WAE_ERROR_NONE)
WAE_SLOGE("Fail when traverse dek store directory. ret(%d)", ret);
out:
- if (dir != NULL)
- closedir(dir);
-
_remove_directory(dek_store_path);
return ret;