MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / lg_free

Function lg_free

src/store/store.c:10019–10028  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10017} cbm_lg_t;
10018
10019static void lg_free(cbm_lg_t *g) {
10020 free(g->off);
10021 free(g->nbr);
10022 free(g->w);
10023 free(g->k);
10024 g->off = NULL;
10025 g->nbr = NULL;
10026 g->w = NULL;
10027 g->k = NULL;
10028}
10029
10030/* Build a CSR graph from a deduplicated undirected edge list. */
10031static int lg_build(int n, const int *wsi, const int *wdi, const double *ww, int wn,

Callers 1

cbm_leidenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected