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

Function CircularBuffer_Free

src/util/circular_buffer.c:205–212  ·  view source on GitHub ↗

free buffer (does not free its elements if its free callback is NULL)

Source from the content-addressed store, hash-verified

203
204// free buffer (does not free its elements if its free callback is NULL)
205void CircularBuffer_Free
206(
207 CircularBuffer cb // buffer to free
208) {
209 ASSERT(cb != NULL);
210
211 rm_free(cb);
212}
213

Callers 7

QueriesLog_FreeFunction · 0.85
Indexer_InitFunction · 0.85
test_CircularBufferInitFunction · 0.85
test_CircularBuffer_freeFunction · 0.85

Calls 1

rm_freeFunction · 0.85

Tested by 5

test_CircularBufferInitFunction · 0.68
test_CircularBuffer_freeFunction · 0.68