[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2239] nagiosplug/trunk/plugins-root/pst3.c

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Mon Sep 14 12:25:30 CEST 2009


Revision: 2239
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2239&view=rev
Author:   dermoth
Date:     2009-09-14 10:25:30 +0000 (Mon, 14 Sep 2009)

Log Message:
-----------
Ensure dirhandle is closed (Duncan Ferguson)

From: Ton Voon <ton.voon at opsera.com>

Modified Paths:
--------------
    nagiosplug/trunk/plugins-root/pst3.c

Modified: nagiosplug/trunk/plugins-root/pst3.c
===================================================================
--- nagiosplug/trunk/plugins-root/pst3.c	2009-09-11 23:00:08 UTC (rev 2238)
+++ nagiosplug/trunk/plugins-root/pst3.c	2009-09-14 10:25:30 UTC (rev 2239)
@@ -234,6 +234,8 @@
     printf("\n");
   }
 
+  (void) closedir(procdir);
+
   return (0);
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list