projects
/
platform
/
core
/
system
/
docker-launcher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55a2bbf
)
Fix close of file descriptor
66/201866/1
accepted/tizen/unified/20190321.062506
submit/tizen/20190320.104543
author
wansuyoo
<wansu.yoo@samsung.com>
Wed, 20 Mar 2019 08:18:00 +0000
(17:18 +0900)
committer
wansuyoo
<wansu.yoo@samsung.com>
Wed, 20 Mar 2019 08:21:42 +0000
(17:21 +0900)
It's for fixing svace issue of WGID: 410087
Change-Id: I685e40ca852e441d5f5194f16078e8b8c044218d
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
src/dzl_setting.c
patch
|
blob
|
history
diff --git
a/src/dzl_setting.c
b/src/dzl_setting.c
index
2b9b249
..
8696eb0
100755
(executable)
--- a/
src/dzl_setting.c
+++ b/
src/dzl_setting.c
@@
-58,7
+58,7
@@
static int __get_info_from_json(char *file_name, container_create_info_s * conta
len = lseek(fd, 0L, SEEK_END) - 1;
if (lseek(fd, 0L, SEEK_SET) < 0) {
_E("find beginning of file returns error");
-
f
close(fd);
+ close(fd);
return -1;
} else {
json_data = (char *)malloc(len + 1);