MCPcopy Index your code
hub / github.com/git/git / release_http_pack_request

Function release_http_pack_request

http.c:2669–2680  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2667}
2668
2669void release_http_pack_request(struct http_pack_request *preq)
2670{
2671 if (preq->packfile) {
2672 fclose(preq->packfile);
2673 preq->packfile = NULL;
2674 }
2675 preq->slot = NULL;
2676 strbuf_release(&preq->tmpfile);
2677 curl_slist_free_all(preq->headers);
2678 free(preq->url);
2679 free(preq);
2680}
2681
2682static const char *default_index_pack_args[] =
2683 {"index-pack", "--stdin", NULL};

Callers 4

http_fetch_packFunction · 0.85
start_fetch_packedFunction · 0.85
finish_requestFunction · 0.85
fetch_single_packfileFunction · 0.85

Calls 1

strbuf_releaseFunction · 0.85

Tested by

no test coverage detected