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

Function EffectsBuffer_Free

src/effects/effects.c:798–813  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

796}
797
798void EffectsBuffer_Free
799(
800 EffectsBuffer *eb
801) {
802 if(eb == NULL) return;
803
804 // free blocks
805 struct EffectsBufferBlock *b = eb->head;
806 while(b != NULL) {
807 struct EffectsBufferBlock *next = b->next;
808 EffectsBufferBlock_Free(b);
809 b = next;
810 }
811
812 rm_free(eb);
813}
814

Callers 1

QueryCtx_FreeFunction · 0.85

Calls 2

EffectsBufferBlock_FreeFunction · 0.85
rm_freeFunction · 0.85

Tested by

no test coverage detected