aboutsummaryrefslogtreecommitdiff
path: root/plugins-root
diff options
context:
space:
mode:
authorGravatar Ton Voon <ton.voon@opsera.com> 2009-09-14 11:22:13 +0100
committerGravatar Ton Voon <ton.voon@opsera.com> 2009-09-14 11:22:13 +0100
commitbbadda8979b4cd4d7cb6a9aa189ff494cbbace28 (patch)
tree70a73230c1f376ee5bdbf8bcaab985f5d018af1f /plugins-root
parentaa6563c75cbd09eeb8b9eec55340469183f213cb (diff)
downloadmonitoring-plugins-bbadda8979b4cd4d7cb6a9aa189ff494cbbace28.tar.gz
Ensure dirhandle is closed (Duncan Ferguson)
Diffstat (limited to 'plugins-root')
-rw-r--r--plugins-root/pst3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins-root/pst3.c b/plugins-root/pst3.c
index 7586d5f3..7852aa1c 100644
--- a/plugins-root/pst3.c
+++ b/plugins-root/pst3.c
@@ -234,6 +234,8 @@ try_again:
printf("\n");
}
+ (void) closedir(procdir);
+
return (0);
}