for-each-ref: introduce 'ref_array_clear()'
authorKarthik Nayak <karthik.188@gmail.com>
Sat, 13 Jun 2015 19:37:23 +0000 (01:07 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Jun 2015 18:48:08 +0000 (11:48 -0700)
Introduce and implement 'ref_array_clear()' which will free
all allocated memory for 'ref_array'.

Mentored-by: Christian Couder <christian.couder@gmail.com>
Mentored-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Reviewed-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found