MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / freeSparklineSequence

Function freeSparklineSequence

src/sparkline.cpp:81–88  ·  view source on GitHub ↗

Free a sequence. */

Source from the content-addressed store, hash-verified

79
80/* Free a sequence. */
81void freeSparklineSequence(struct sequence *seq) {
82 int j;
83
84 for (j = 0; j < seq->length; j++)
85 zfree(seq->samples[j].label);
86 zfree(seq->samples);
87 zfree(seq);
88}
89
90/* ----------------------------------------------------------------------------
91 * ASCII rendering of sequence

Callers 1

Calls 1

zfreeFunction · 0.85

Tested by

no test coverage detected