diff options
Diffstat (limited to 'c++/src/H5CompType.cpp')
-rw-r--r-- | c++/src/H5CompType.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/c++/src/H5CompType.cpp b/c++/src/H5CompType.cpp index 738506e..dfc357b 100644 --- a/c++/src/H5CompType.cpp +++ b/c++/src/H5CompType.cpp @@ -208,6 +208,10 @@ H5T_class_t CompType::getMemberClass( unsigned member_num ) const throw DataTypeIException("CompType::getMemberClass", "H5Tget_class returns H5T_NO_CLASS"); } + + // close the member datatype + H5Tclose(member_type_id); + return( member_class ); } |