revisions API users: use release_revisions() for "prune_data" users
commitf0cb6b8053eb9146e9d5255b6b0473d020c6e8bd
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 13 Apr 2022 20:01:44 +0000 (13 22:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Apr 2022 06:56:09 +0000 (13 23:56 -0700)
tree884ec63039b04bbcd23c88cc23385f74c47e743c
parentbf1b32d0991cfead7e5604897d0866b789bf602e
revisions API users: use release_revisions() for "prune_data" users

Use release_revisions() for users of "struct rev_list" that reach into
the "struct rev_info" and clear the "prune_data" already.

In a subsequent commit we'll teach release_revisions() to clear this
itself, but in the meantime let's invoke release_revisions() here to
clear anything else we may have missed, and for reasons of having
consistent boilerplate.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/add.c
diff-lib.c
wt-status.c