summaryrefslogtreecommitdiff
path: root/http-backend.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2013-05-25 11:08:17 +0200
committerJunio C Hamano <gitster@pobox.com>2013-06-02 15:28:47 -0700
commitf83918edcb6fbcd1c5d8378c11e57edcc47bd232 (patch)
treedeba23698bc8bfcc3498d6944676a971a0f176c1 /http-backend.c
parent5b87d8d3f53c1dfb54027123af612488abc85006 (diff)
downloadgit-f83918edcb6fbcd1c5d8378c11e57edcc47bd232.tar.gz
add_existing(): do not retain a reference to sha1
Its lifetime is not guaranteed, so make a copy. Free the memory when the string_list is cleared. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-backend.c')
0 files changed, 0 insertions, 0 deletions