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

Function _Graph_FreeRelationMatrices

src/graph/graph.c:1170–1176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1168}
1169
1170static void _Graph_FreeRelationMatrices
1171(
1172 const Graph *g
1173) {
1174 uint relationCount = Graph_RelationTypeCount(g);
1175 for(uint i = 0; i < relationCount; i++) RG_Matrix_free(&g->relations[i]);
1176}
1177
1178DataBlockIterator *Graph_ScanNodes(const Graph *g) {
1179 ASSERT(g);

Callers 1

_Graph_FreeFunction · 0.85

Calls 2

Graph_RelationTypeCountFunction · 0.85
RG_Matrix_freeFunction · 0.85

Tested by

no test coverage detected