From bbadda8979b4cd4d7cb6a9aa189ff494cbbace28 Mon Sep 17 00:00:00 2001
From: Ton Voon <ton.voon@opsera.com>
Date: Mon, 14 Sep 2009 11:22:13 +0100
Subject: Ensure dirhandle is closed (Duncan Ferguson)


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:
     printf("\n");
   }
 
+  (void) closedir(procdir);
+
   return (0);
 }
 
-- 
cgit v0.10-9-g596f

