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

Function SIArray_Free

src/datatypes/array.c:204–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204void SIArray_Free(SIValue siarray) {
205 uint arrayLen = SIArray_Length(siarray);
206 for(uint i = 0; i < arrayLen; i++) {
207 SIValue value = siarray.array[i];
208 SIValue_Free(value);
209 }
210 array_free(siarray.array);
211}
212

Callers 5

SIValue_FreeFunction · 0.85
_AR_NodeDegreeFunction · 0.85
test_empty_mapFunction · 0.85
test_map_addFunction · 0.85
test_map_removeFunction · 0.85

Calls 3

SIArray_LengthFunction · 0.85
SIValue_FreeFunction · 0.85
array_freeFunction · 0.85

Tested by 3

test_empty_mapFunction · 0.68
test_map_addFunction · 0.68
test_map_removeFunction · 0.68