From: Ton Voon Date: Mon, 14 Sep 2009 10:22:13 +0000 (+0100) Subject: Ensure dirhandle is closed (Duncan Ferguson) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bbadda8979b4cd4d7cb6a9aa189ff494cbbace28;p=nagiosplug.git 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); }