SF.net SVN: nagiosplug:[2239] nagiosplug/trunk/plugins-root/pst3.c
| Newsgroups | gmane.network.nagios.plugins.cvs |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>
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.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july