summaryrefslogtreecommitdiff
path: root/sha1dc_git.h
diff options
context:
space:
mode:
authorLibravatar Denton Liu <liu.denton@gmail.com>2020-04-03 21:11:16 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-04-05 14:15:09 -0700
commit65c425a2ec815989994716c81a2307ae5b5645bc (patch)
tree26953bdaf1105e7cf9c0e27f1da0f2c4b54e0edc /sha1dc_git.h
parentt7600: use test_write_lines() (diff)
downloadtgif-65c425a2ec815989994716c81a2307ae5b5645bc.tar.xz
sequencer: stop leaking buf
In read_populate_opts(), we call read_oneliner() _after_ calling strbuf_release(). This means that `buf` is leaked at the end of the function. Always clean up the strbuf by going to `done_rebase_i` whether or not we return an error. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1dc_git.h')
0 files changed, 0 insertions, 0 deletions