--- hdf5-1.6.6/c++/src/H5PropList.cpp.free 2007-08-16 10:12:26.000000000 -0600 +++ hdf5-1.6.6/c++/src/H5PropList.cpp 2008-02-05 15:14:51.000000000 -0700 @@ -24,6 +24,7 @@ #include "H5Exception.h" #include "H5IdComponent.h" #include "H5PropList.h" +#include "H5private.h" #ifndef H5_NO_NAMESPACE namespace H5 { @@ -425,7 +426,7 @@ if (temp_str != NULL) { H5std_string class_name = H5std_string(temp_str); - free(temp_str); + HDfree(temp_str); return(class_name); } else