MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / DataBlock_Free

Function DataBlock_Free

src/util/datablock/datablock.c:262–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262void DataBlock_Free(DataBlock *dataBlock) {
263 for(uint i = 0; i < dataBlock->blockCount; i++) Block_Free(dataBlock->blocks[i]);
264
265 rm_free(dataBlock->blocks);
266 array_free(dataBlock->deletedIdx);
267 rm_free(dataBlock);
268}
269

Callers 9

UndoLog_RollbackFunction · 0.85
UndoLog_FreeFunction · 0.85
ResultSet_FreeFunction · 0.85
_Graph_FreeFunction · 0.85
test_dataBlockNewFunction · 0.85
test_dataBlockAddItemFunction · 0.85
test_dataBlockScanFunction · 0.85
test_dataBlockRemoveItemFunction · 0.85

Calls 3

Block_FreeFunction · 0.85
rm_freeFunction · 0.85
array_freeFunction · 0.85

Tested by 5

test_dataBlockNewFunction · 0.68
test_dataBlockAddItemFunction · 0.68
test_dataBlockScanFunction · 0.68
test_dataBlockRemoveItemFunction · 0.68