[MOAB-dev] r3626 - MOAB/trunk/src/io/mhdf/src

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Mon Mar 15 16:45:05 CDT 2010


Author: kraftche
Date: 2010-03-15 16:45:04 -0500 (Mon, 15 Mar 2010)
New Revision: 3626

Modified:
   MOAB/trunk/src/io/mhdf/src/util.c
Log:
fix overzelous memory checking causing false valgrind error reports

Modified: MOAB/trunk/src/io/mhdf/src/util.c
===================================================================
--- MOAB/trunk/src/io/mhdf/src/util.c	2010-03-15 21:44:30 UTC (rev 3625)
+++ MOAB/trunk/src/io/mhdf/src/util.c	2010-03-15 21:45:04 UTC (rev 3626)
@@ -378,7 +378,6 @@
   else {
     VALGRIND_CHECK_MEM_IS_DEFINED( array, counts[0]*counts[1]*H5Tget_size(type) );
     rval = H5Dwrite( data_id, type, mem_id, slab_id, io_prop, array );
-    VALGRIND_MAKE_MEM_UNDEFINED( array, counts[0]*counts[1]*H5Tget_size(type) );
   }
   H5Sclose( slab_id );
   H5Sclose( mem_id );



More information about the moab-dev mailing list