summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-04-13 22:01:41 +0200
committerJunio C Hamano <gitster@pobox.com>2022-04-13 23:56:09 -0700
commitb78ce337def2db3a6fceee157f49202e5d1ce46a (patch)
tree9851e1b86c6e54109340b2c823778a5b39a1b304 /builtin/commit.c
parent0139c58ab951e8620d6066eb687d0a96e490436a (diff)
revisions API users: use release_revisions() in http-push.c
In the case of cmd_main() in http-push.c we need to move the deceleration of the "struct rev-list" into the loop over the "remote_refs" when adding a release_revisions(). We'd previously set up the "revs" for each remote, but would potentially leak memory on each one. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions