[PATCH 9/9] [daemon] fix fd leak

Frederic Crozat fcrozat at mandriva.com
Mon Aug 10 09:48:25 PDT 2009


---
 src/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main.c b/src/main.c
index 60938c0..3ede8ef 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1105,6 +1105,7 @@ get_kernel_command_line (state_t *state)
     }
 
   ply_trace ("Kernel command line is: '%s'", state->kernel_command_line);
+  close (fd);
   return true;
 }
 
-- 
1.6.4


--=-XBPOfM0g7BgBIfvLZXUv--



More information about the plymouth mailing list