You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hdf5/hdf5-1.6.6-free.patch

20 lines
516 B

--- 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