aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2008-08-08 16:12:00 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2008-08-08 16:12:00 +0000
commit47b45d49812a64daaa7173bbadc8538ef3fcbaf6 (patch)
tree352adfe46857ff9578ac1a81e1e7ff3cc35a7f0d
parent0378f34d85e4fa2d83bae745c44649ccfb9744bb (diff)
downloadmonitoring-plugins-47b45d49812a64daaa7173bbadc8538ef3fcbaf6.tar.gz
Close on fd
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2031 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins-root/pst3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins-root/pst3.c b/plugins-root/pst3.c
index 3954ec5f..b275a6bc 100644
--- a/plugins-root/pst3.c
+++ b/plugins-root/pst3.c
@@ -228,6 +228,7 @@ try_again:
}
free(args_vecs);
free(args);
+ close(as_fd);
printf("\n");
}