MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / free

Method free

src/common/classes/array.h:423–429  ·  view source on GitHub ↗

clear array and release dinamically allocated memory

Source from the content-addressed store, hash-verified

421
422 // clear array and release dinamically allocated memory
423 void free()
424 {
425 clear();
426 freeData();
427 capacity = this->getStorageSize();
428 data = this->getStorage();
429 }
430
431 // This method only assigns "pos" if the element is found.
432 // Maybe we should modify it to iterate directy with "pos".

Callers

nothing calls this directly

Calls 3

clearClass · 0.50
getStorageSizeMethod · 0.45
getStorageMethod · 0.45

Tested by

no test coverage detected