diff options
author | Olga Telezhnaya <olyatelezhnaya@gmail.com> | 2018-10-18 07:28:54 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-19 11:28:13 +0900 |
commit | f0062d3b74cfd4425188e16cbda358b1e0228d85 (patch) | |
tree | 5935fc618708587e5f392ff91765c913b995814d /reflog-walk.c | |
parent | ls-remote: release memory instead of UNLEAK (diff) | |
download | tgif-f0062d3b74cfd4425188e16cbda358b1e0228d85.tar.xz |
ref-filter: free item->value and item->value->s
Release item->value.
Initialize item->value->s dynamically and then release its resources.
Release some local variables.
Final goal of this patch is to reduce number of memory leaks.
Signed-off-by: Olga Telezhnaia <olyatelezhnaya@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reflog-walk.c')
0 files changed, 0 insertions, 0 deletions