From bbadda8979b4cd4d7cb6a9aa189ff494cbbace28 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Mon, 14 Sep 2009 11:22:13 +0100 Subject: [PATCH] Ensure dirhandle is closed (Duncan Ferguson) --- plugins-root/pst3.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.30.2