summaryrefslogtreecommitdiff
path: root/gitweb/static/js/lib
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-03-19 16:38:35 -0400
committerJunio C Hamano <gitster@pobox.com>2015-03-19 14:11:35 -0700
commit626df76e3df3a0d8ecee07098706547648e6c96f (patch)
tree23bc39b0faaa3cddaa308f9c9c5f74236a9ebf7a /gitweb/static/js/lib
parentc3c17bf10725149e2f806c73aceb522509afcc83 (diff)
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 'gitweb/static/js/lib')
0 files changed, 0 insertions, 0 deletions