MCPcopy Create free account
hub / github.com/git/git / strbuf_list_free

Function strbuf_list_free

strbuf.c:222–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222void strbuf_list_free(struct strbuf **sbs)
223{
224 struct strbuf **s = sbs;
225
226 if (!s)
227 return;
228 while (*s) {
229 strbuf_release(*s);
230 free(*s++);
231 }
232 free(sbs);
233}
234
235int strbuf_cmp(const struct strbuf *a, const struct strbuf *b)
236{

Callers 4

curl_dump_headerFunction · 0.85
handle_bodyFunction · 0.85
trailer_block_getFunction · 0.85
handle_bodyFunction · 0.85

Calls 1

strbuf_releaseFunction · 0.85

Tested by

no test coverage detected