summaryrefslogtreecommitdiff
path: root/builtin/update-server-info.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2015-03-19 16:38:35 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-03-19 14:11:35 -0700
commit626df76e3df3a0d8ecee07098706547648e6c96f (patch)
tree23bc39b0faaa3cddaa308f9c9c5f74236a9ebf7a /builtin/update-server-info.c
parentfilter_ref: make a copy of extra "sought" entries (diff)
downloadtgif-626df76e3df3a0d8ecee07098706547648e6c96f.tar.xz
fetch_refs_via_pack: free extra copy of refs
When fetch_refs_via_pack calls fetch_pack(), we pass a list of refs to fetch, and the function returns either a copy of that list, with the fetched items filled in, or NULL. We check the return value to see whether the fetch was successful, but do not otherwise look at the copy, and simply leak it at the end of the function. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/update-server-info.c')
0 files changed, 0 insertions, 0 deletions