diff options
author | Jeff King <peff@peff.net> | 2012-01-11 22:05:03 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-01-11 19:07:23 -0800 |
commit | 37475f97d1fbab0842c17b175263eeba6cd5e318 (patch) | |
tree | 32042255fc99d6135d33605d65d635b8b4cb8a66 /run-command.h | |
parent | 592ed5673e3074a0d7e0a6d6626faa783c327c29 (diff) | |
download | git-37475f97d1fbab0842c17b175263eeba6cd5e318.tar.gz git-37475f97d1fbab0842c17b175263eeba6cd5e318.tar.xz |
attr: fix leak in free_attr_elem
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>
Diffstat (limited to 'run-command.h')
0 files changed, 0 insertions, 0 deletions