projects
/
platform
/
core
/
system
/
swap-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa06771
)
[FIX] prevent
64/30164/1
author
Vitaliy Cherepanov
<v.cherepanov@samsung.com>
Wed, 12 Nov 2014 08:36:38 +0000
(11:36 +0300)
committer
Vitaliy Cherepanov
<v.cherepanov@samsung.com>
Wed, 12 Nov 2014 08:36:38 +0000
(11:36 +0300)
|-------------------------|------------------------|
| Type | Function |
|-------------------------|------------------------|
| fd leak |initialize_log |
|-------------------------|------------------------|
Change-Id: I104279bdc850725e2077bd55159001ad88d465f0
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
daemon/da_debug.c
patch
|
blob
|
history
diff --git
a/daemon/da_debug.c
b/daemon/da_debug.c
index
8ce2452
..
782410c
100644
(file)
--- a/
daemon/da_debug.c
+++ b/
daemon/da_debug.c
@@
-104,10
+104,10
@@
int initialize_log(void)
close(2);
}
- if (fd_null
=
= -1)
+ if (fd_null
!
= -1)
close(fd_null);
- if (fd
=
= -1)
+ if (fd
!
= -1)
close(fd);
close(0);