| 158 | } |
| 159 | |
| 160 | static void upload_pack_data_clear(struct upload_pack_data *data) |
| 161 | { |
| 162 | string_list_clear(&data->symref, 1); |
| 163 | strmap_clear(&data->wanted_refs, 1); |
| 164 | strvec_clear(&data->hidden_refs); |
| 165 | object_array_clear(&data->want_obj); |
| 166 | object_array_clear(&data->have_obj); |
| 167 | object_array_clear(&data->shallows); |
| 168 | oidset_clear(&data->deepen_not); |
| 169 | object_array_clear(&data->extra_edge_obj); |
| 170 | list_objects_filter_release(&data->filter_options); |
| 171 | string_list_clear(&data->allowed_filters, 0); |
| 172 | string_list_clear(&data->uri_protocols, 0); |
| 173 | |
| 174 | free((char *)data->pack_objects_hook); |
| 175 | } |
| 176 | |
| 177 | static void reset_timeout(unsigned int timeout) |
| 178 | { |
no test coverage detected