object-store: free alt_odb_list
authorStefan Beller <sbeller@google.com>
Fri, 23 Mar 2018 17:20:58 +0000 (18:20 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Mar 2018 18:06:01 +0000 (11:06 -0700)
commit97501e933a6d4d5a8567dbbb44fa3b4bff2ea298
tree5ecd2ebc159ab56464175283801560b3985233f5
parent031dc927f443fa5274e794c12ac34f19a0e0d318
object-store: free alt_odb_list

Free the memory and reset alt_odb_{list, tail} to NULL.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object.c