[MOAB-dev] r3899 - MOAB/trunk/src/io

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Fri May 14 11:26:41 CDT 2010


Author: kraftche
Date: 2010-05-14 11:26:40 -0500 (Fri, 14 May 2010)
New Revision: 3899

Modified:
   MOAB/trunk/src/io/ReadHDF5.cpp
Log:
release HDF5 property objects in ReadHDF5

Modified: MOAB/trunk/src/io/ReadHDF5.cpp
===================================================================
--- MOAB/trunk/src/io/ReadHDF5.cpp	2010-05-13 19:31:01 UTC (rev 3898)
+++ MOAB/trunk/src/io/ReadHDF5.cpp	2010-05-14 16:26:40 UTC (rev 3899)
@@ -385,6 +385,12 @@
     rval = rval2;
   
   dbgOut.tprint(1, "Read finished.\n");
+  
+  if (H5P_DEFAULT != collIO)
+    H5Pclose( collIO );
+  if (H5P_DEFAULT != indepIO)
+    H5Pclose( indepIO );
+  
   return rval;
 }
   




































More information about the moab-dev mailing list