for-each-ref: introduce 'ref_array_clear()'
authorKarthik Nayak <redacted>
Sat, 13 Jun 2015 19:37:23 +0000 (01:07 +0530)
committerJunio C Hamano <redacted>
Mon, 15 Jun 2015 18:48:08 +0000 (11:48 -0700)
commit8e33678a265011f74a0158134234a41d0f944284
tree8274532a5616662230af444212de06b81be15299
parent215b5651261f866dc7c885eb02b6f7df7246a7cf
for-each-ref: introduce 'ref_array_clear()'

Introduce and implement 'ref_array_clear()' which will free
all allocated memory for 'ref_array'.

Mentored-by: Christian Couder <redacted>
Mentored-by: Matthieu Moy <redacted>
Signed-off-by: Karthik Nayak <redacted>
Reviewed-by: Matthieu Moy <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/for-each-ref.c
git clone https://git.99rst.org/PROJECT