diff options
author | Ton Voon <ton.voon@opsera.com> | 2009-09-14 11:22:13 +0100 |
---|---|---|
committer | Ton Voon <ton.voon@opsera.com> | 2009-09-14 11:22:13 +0100 |
commit | bbadda8979b4cd4d7cb6a9aa189ff494cbbace28 (patch) | |
tree | 70a73230c1f376ee5bdbf8bcaab985f5d018af1f /plugins-root | |
parent | aa6563c75cbd09eeb8b9eec55340469183f213cb (diff) | |
download | monitoring-plugins-bbadda8979b4cd4d7cb6a9aa189ff494cbbace28.tar.gz |
Ensure dirhandle is closed (Duncan Ferguson)
Diffstat (limited to 'plugins-root')
-rw-r--r-- | plugins-root/pst3.c | 2 |
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: | |||
234 | printf("\n"); | 234 | printf("\n"); |
235 | } | 235 | } |
236 | 236 | ||
237 | (void) closedir(procdir); | ||
238 | |||
237 | return (0); | 239 | return (0); |
238 | } | 240 | } |
239 | 241 | ||