mirror of
https://github.com/git/git.git
synced 2026-01-10 10:13:33 +00:00
When `update_submodule()` fails we return with `die_message()`, which only causes us to print the same message as `die()` would without actually causing the process to die. We don't free memory in that case and thus leak memory. Fix the leak by freeing the remote ref. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1.8 KiB
Executable File
1.8 KiB
Executable File