Explorar o código

solving memory leak

Patrik Kovacs %!s(int64=8) %!d(string=hai) anos
pai
achega
ca2938def0
Modificáronse 1 ficheiros con 1 adicións e 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) {