line-log: free the diff queues' arrays when processing merge commits
commitef84222fa9b3ed163bacd6dc59a1d855dfbfbd75
authorSZEDER Gábor <szeder.dev@gmail.com>
Wed, 2 Nov 2022 22:01:41 +0000 (2 23:01 +0100)
committerTaylor Blau <me@ttaylorr.com>
Thu, 3 Nov 2022 00:16:34 +0000 (2 20:16 -0400)
treec7aa0c89a30b2d2bbc286772c2efc4030afcde1c
parent04ae00062d2ec301828e8df9931817be4b2f8653
line-log: free the diff queues' arrays when processing merge commits

When processing merge commits, the line-level log first creates an
array of diff queues, each comparing the merge commit with one of its
parents, to check whether any of the files in the given line ranges
were modified.  Alas, when freeing these queues it only frees the
filepairs in the queues, but not the queues' internal arrays holding
pointers to those filepairs.

Use the diff_free_queue() helper function introduced in the previous
commit to free the diff queues' internal arrays as well.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
line-log.c