projects
/
platform
/
core
/
system
/
deviced.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4f03d3
)
svace: power-shutdown: fix leak
01/200901/1
accepted/tizen/unified/20190311.072436
submit/tizen/20190308.023010
author
sanghyeok.oh
<sanghyeok.oh@samsung.com>
Tue, 5 Mar 2019 12:04:20 +0000
(21:04 +0900)
committer
sanghyeok.oh
<sanghyeok.oh@samsung.com>
Tue, 5 Mar 2019 12:04:25 +0000
(21:04 +0900)
Change-Id: Ieadd4f8a25c78775877847a065d811d4d83a5314
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
src/power-shutdown/shutdown.c
patch
|
blob
|
history
diff --git
a/src/power-shutdown/shutdown.c
b/src/power-shutdown/shutdown.c
index
bc4bd0d
..
9c6032d
100644
(file)
--- a/
src/power-shutdown/shutdown.c
+++ b/
src/power-shutdown/shutdown.c
@@
-85,8
+85,8
@@
static void autoboot(void)
if (ret < 0) {
ret = -errno;
printf("%s: fail to read reboot data(%d)\n", progname, ret);
- }
else
-
close(fd);
+ }
+ close(fd);
}
printf("%s: reboot param is <%s>\n", progname, buf);