attr: fix leak in free_attr_elem
authorJeff King <peff@peff.net>
Thu, 12 Jan 2012 03:05:03 +0000 (22:05 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Jan 2012 03:07:23 +0000 (19:07 -0800)
This function frees the individual "struct match_attr"s we
have allocated, but forgot to free the array holding their
pointers, leading to a minor memory leak (but it can add up
after checking attributes for paths in many directories).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found