summaryrefslogtreecommitdiff
path: root/attr.h
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2015-03-10 16:51:48 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-03-10 20:53:52 -0700
commitc8a571d8bcef7f5687b5eb86654805c39f236e5d (patch)
treef3640ca88eec6c9d1923726a2188aa332583c895 /attr.h
parentconnect.c: do not leak "conn" after showing diagnosis (diff)
downloadtgif-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