summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTon Voon <ton.voon@opsera.com>2009-09-14 10:22:13 (GMT)
committerTon Voon <ton.voon@opsera.com>2009-09-14 10:22:13 (GMT)
commitbbadda8979b4cd4d7cb6a9aa189ff494cbbace28 (patch)
tree70a73230c1f376ee5bdbf8bcaab985f5d018af1f
parentaa6563c75cbd09eeb8b9eec55340469183f213cb (diff)
downloadmonitoring-plugins-bbadda8979b4cd4d7cb6a9aa189ff494cbbace28.tar.gz
Ensure dirhandle is closed (Duncan Ferguson)
-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 7586d5f..7852aa1 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