Explorar el Código

solving memory leak

Patrik Kovacs hace 7 años
padre
commit
ca2938def0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/HdfItem.cpp

+ 1 - 1
lib/HdfItem.cpp

@@ -96,7 +96,7 @@ hdf4cpp::HdfDataItem::HdfDataItem(int32 id) : HdfItemBase(id) {
 }
 hdf4cpp::HdfDataItem::~HdfDataItem() {
     if(isValid()) {
-        Vdetach(id);
+        VSdetach(id);
     }
 }
 hdf4cpp::HdfAttribute hdf4cpp::HdfDataItem::getAttribute(const std::string &name) {