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:
d711dcb
)
[FIX] Close file descriptors when removing modules
author
Alexander Aksenov
<a.aksenov@samsung.com>
Wed, 25 Sep 2013 10:19:33 +0000
(14:19 +0400)
committer
Alexander Aksenov
<a.aksenov@samsung.com>
Wed, 25 Sep 2013 11:20:25 +0000
(15:20 +0400)
Was corrupted at
48e94a274ccbfdb1b45b007d85dd32722fe1e4ac
Change-Id: Ic29a52c991706e29f224d91cfc323ad05cbd685b
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
daemon/main.c
patch
|
blob
|
history
diff --git
a/daemon/main.c
b/daemon/main.c
index
5c5317c
..
7578d50
100644
(file)
--- a/
daemon/main.c
+++ b/
daemon/main.c
@@
-371,6
+371,7
@@
static void terminate(int sig)
{
_unlink_files();
_close_server_socket();
{
_unlink_files();
_close_server_socket();
+ exit_buf();
remove_buf_modules();
if (sig != 0) {
LOGW("Terminating due signal %s\n", strsignal(sig));
remove_buf_modules();
if (sig != 0) {
LOGW("Terminating due signal %s\n", strsignal(sig));