diff options
author | Stefan Beller <sbeller@google.com> | 2015-03-10 16:51:48 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-10 20:53:52 -0700 |
commit | c8a571d8bcef7f5687b5eb86654805c39f236e5d (patch) | |
tree | f3640ca88eec6c9d1923726a2188aa332583c895 /attr.h | |
parent | connect.c: do not leak "conn" after showing diagnosis (diff) | |
download | tgif-c8a571d8bcef7f5687b5eb86654805c39f236e5d.tar.xz |
bundle.c: fix memory leak
There was one continue statement without an accompanying `free(ref)`.
Instead of adding that, replace all the free&&continue with a goto
just after writing the refs, where we'd do the free anyway and then
reloop.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'attr.h')
0 files changed, 0 insertions, 0 deletions