hal: Branch 'master'
Sjoerd Simons
sjoerd at kemper.freedesktop.org
Tue Aug 15 05:24:59 PDT 2006
hald-runner/runner.c | 1 +
1 files changed, 1 insertion(+)
New commits:
diff-tree fcb6aa0df90b7ee61a58c207896448131d3aa180 (from 9ea9b86c3e44696da508326d2656b3988f883321)
Author: Sjoerd Simons <sjoerd at beast.(none)>
Date: Tue Aug 15 14:24:34 2006 +0200
hald-runner/runner.c: Close the stderr filedescriptor after reading it to
prevent leaks. Patch by Mike Hommey
diff --git a/hald-runner/runner.c b/hald-runner/runner.c
index a2d1a21..7301233 100644
--- a/hald-runner/runner.c
+++ b/hald-runner/runner.c
@@ -163,6 +163,7 @@ run_exited(GPid pid, gint status, gpoint
if (rd->stderr_v >= 0) {
/* Need to read stderr */
error = get_string_array_from_fd(rd->stderr_v);
+ close(rd->stderr_v);
rd->stderr_v = -1;
}
if (rd->msg != NULL)
More information about the hal-commit
mailing list