[MOAB-dev] memory leak in ReadParallel class?

Ryuta Suzuki suzu0037 at aem.umn.edu
Mon Jul 14 18:38:20 CDT 2008


Hi,

I've been playing around MOAB for a while to use it as parallel mesh 
reader/writer.

I noticed that in RealParallel class, its constructor "new" the 
MBParallelComm object but it doesn't delete the object at any point in 
the class. I suppose it'd be natural that the ReadParallel destructor 
should handle this memory allocation.

Running valgrind confirmed that MBParallelComm object is not correctly 
freed.

Please correct me if I'm wrong. Thank you.

-ryuta




More information about the moab-dev mailing list