Commit df40179e authored by George Zagaris's avatar George Zagaris
Browse files

BUGFIX: Fix memory leak

Deallocate AMR dataset before exit.

Change-Id: I1af93fbde86f57569ddfdfe5c3b1f60c62888838
parent 18dac1b8
......@@ -86,6 +86,7 @@ int main( int argc, char **argv )
assert( "pre: NULL AMR dataset" && ( amrDataSet != NULL ) );
WriteAMRData( amrDataSet, "Gaussian3D" );
amrDataSet->Delete();
return 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment