summaryrefslogtreecommitdiff
path: root/connected.h
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2022-12-13 06:47:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-12-13 13:07:37 (GMT)
commita658e881c138c8bc398d1d4b9b6db9e29b16673c (patch)
tree900b01ae8a8271244192eddd5ef3ae542774976a /connected.h
parent8706a59933d09354c5e3eb09a543453655a97183 (diff)
downloadgit-a658e881c138c8bc398d1d4b9b6db9e29b16673c.zip
git-a658e881c138c8bc398d1d4b9b6db9e29b16673c.tar.gz
git-a658e881c138c8bc398d1d4b9b6db9e29b16673c.tar.bz2
am: don't pass strvec to apply_parse_options()
apply_parse_options() passes the array of argument strings to parse_options(), which removes recognized options. The removed strings are not freed, though. Make a copy of the strvec to pass to the function to retain the pointers of its strings, so we release them all at the end. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'connected.h')
0 files changed, 0 insertions, 0 deletions