| 350 | } |
| 351 | |
| 352 | void reftable_block_release(struct reftable_block *block) |
| 353 | { |
| 354 | inflateEnd(block->zstream); |
| 355 | reftable_free(block->zstream); |
| 356 | reftable_free(block->uncompressed_data); |
| 357 | block_source_release_data(&block->block_data); |
| 358 | memset(block, 0, sizeof(*block)); |
| 359 | } |
| 360 | |
| 361 | uint8_t reftable_block_type(const struct reftable_block *b) |
| 362 | { |