diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-08-23 16:12:51 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-23 08:04:47 -0700 |
commit | 89eada4ea1f7a9c0a5f9b9e29592daa0847a79fc (patch) | |
tree | 79d58bba78b50872ed20e3f88abcd18b3f085a09 /t/unit-tests/t-urlmatch-normalization.c | |
parent | d857469d850b5e020de181ec07806872531d35e7 (diff) |
reftable/reader: keep readers alive during iteration
The lifetime of a table iterator may survive the lifetime of a reader
when the stack gets reloaded. Keep the reader from being released by
increasing its refcount while the iterator is still being used.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/t-urlmatch-normalization.c')
0 files changed, 0 insertions, 0 deletions