xdiff/xhistogram: factor out memory cleanup into free_index()
authorStefan Beller <sbeller@google.com>
Thu, 19 Jul 2018 18:56:19 +0000 (11:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Jul 2018 19:46:01 +0000 (12:46 -0700)
commitc671d4b5990f07ca40b0914ca9be65c626608fca
treef1b51e0463f48f6e7edee0b488b3f69a84f63ce1
parent282098506ffb42d151a3c8d324b6b5393a4342a4
xdiff/xhistogram: factor out memory cleanup into free_index()

This will be useful in the next patch as we'll introduce multiple
callers.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xhistogram.c