MCPcopy Create free account
hub / github.com/apache/madlib / freeSparseData

Function freeSparseData

methods/svec/src/pg_gp/SparseData.c:1263–1267  ·  view source on GitHub ↗

* Frees up the memory occupied by sdata */

Source from the content-addressed store, hash-verified

1261 * Frees up the memory occupied by sdata
1262 */
1263void freeSparseData(SparseData sdata) {
1264 pfree(sdata->vals);
1265 pfree(sdata->index);
1266 pfree(sdata);
1267}
1268
1269/**
1270 * Frees up the memory occupied by sdata, including the data elements of vals and index.

Callers 4

freeSparseDataAndDataFunction · 0.85
float8arr_dotFunction · 0.85
svec_dot_float8arrFunction · 0.85
float8arr_dot_svecFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected