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)
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>
No differences found