summaryrefslogtreecommitdiff
path: root/argv-array.h
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-07-24 00:41:30 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-07-24 13:57:50 -0700
commitdef0697167d0b3fb3c9cc1a2fcbac56e540aae48 (patch)
tree67389fc3fc4d5e57cfd931ecd4ddabfebb82439c /argv-array.h
parentfree ref string returned by dwim_ref (diff)
downloadtgif-def0697167d0b3fb3c9cc1a2fcbac56e540aae48.tar.xz
transport: fix leaks in refs_from_alternate_cb
The function starts by creating a copy of the static buffer returned by real_path, but forgets to free it in the error code paths. We can solve this by jumping to the cleanup code that is already there. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'argv-array.h')
0 files changed, 0 insertions, 0 deletions