| 2667 | } |
| 2668 | |
| 2669 | void 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 | |
| 2682 | static const char *default_index_pack_args[] = |
| 2683 | {"index-pack", "--stdin", NULL}; |
no test coverage detected