add-interactive: make sure to release `rev.prune_data`
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 29 Nov 2019 21:11:41 +0000 (21:11 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 1 Dec 2019 15:30:53 +0000 (07:30 -0800)
commit0c3944a628e46f6abb1add20f19641c5bbef8a1a
tree6e44407fd1aa1c9dceaf73075bd88b76dafb5b5c
parent8c159044625e46de67cd8467f07424f38eb8301e
add-interactive: make sure to release `rev.prune_data`

During a review, Junio Hamano pointed out that the `rev.prune_data` was
copied from another pathspec but never cleaned up.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
add-interactive.c