Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ben Boeckel
Xdmf
Commits
1ca5e692
Commit
1ca5e692
authored
May 20, 2010
by
Robert Maynard
Committed by
David Partyka
May 20, 2010
Browse files
BUG: Fix massive memory leak when traversing time steps.
parent
e95ce927
Changes
1
Hide whitespace changes
Inline
Side-by-side
libsrc/XdmfHDF.cxx
View file @
1ca5e692
...
...
@@ -421,6 +421,11 @@ XdmfHDF::CreateDataset( XdmfConstString path ) {
free
(
Pathname
);
XdmfDebug
(
"Checking for existance of "
<<
this
->
Path
);
if
(
this
->
Dataset
!=
H5I_BADID
){
XdmfDebug
(
"Closing Dataset"
);
H5Dclose
(
this
->
Dataset
);
this
->
Dataset
=
H5I_BADID
;
}
H5E_BEGIN_TRY
{
#if (!H5_USE_16_API && ((H5_VERS_MAJOR>1)||((H5_VERS_MAJOR==1)&&(H5_VERS_MINOR>=8))))
this
->
Dataset
=
H5Dopen
(
this
->
Cwd
,
this
->
Path
,
H5P_DEFAULT
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment