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

Function GxB_Iterator_free

deps/GraphBLAS/Source/GxB_Iterator_free.c:12–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include "GB.h"
11
12GrB_Info GxB_Iterator_free (GxB_Iterator *iterator)
13{
14 if (iterator != NULL)
15 {
16 size_t header_size = (*iterator)->header_size ;
17 if (header_size > 0)
18 {
19 (*iterator)->header_size = 0 ;
20 GB_FREE (iterator, header_size) ;
21 }
22 }
23 return (GrB_SUCCESS) ;
24}
25

Callers 2

Proc_BFS_StepFunction · 0.85
mexFunctionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected