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

Function free_discovery

remote-curl.c:357–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357static void free_discovery(struct discovery *d)
358{
359 if (d) {
360 if (d == last_discovery)
361 last_discovery = NULL;
362 free(d->shallow.oid);
363 free(d->buf_alloc);
364 free_refs(d->refs);
365 free(d->service);
366 free(d);
367 }
368}
369
370static int show_http_message(struct strbuf *type, struct strbuf *charset,
371 struct strbuf *msg)

Callers 2

discover_refsFunction · 0.85
pushFunction · 0.85

Calls 1

free_refsFunction · 0.85

Tested by

no test coverage detected