diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-09-01 01:14:14 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-09-02 09:18:12 -0700 |
| commit | 61adac6c4b5839ffcc8b0f7081acac4a18240644 (patch) | |
| tree | 7108c76b81c25b384f7af5fcd354ee35796307d9 /commit-graph.c | |
| parent | submodule--helper: add and use *_release() functions (diff) | |
| download | git-61adac6c4b5839ffcc8b0f7081acac4a18240644.tar.gz git-61adac6c4b5839ffcc8b0f7081acac4a18240644.zip | |
submodule--helper: fix "errmsg_str" memory leak
Fix a memory leak introduced in e83e3333b57 (submodule: port submodule
subcommand 'summary' from shell to C, 2020-08-13), we sometimes append
to the "errmsg", and need to free the "struct strbuf".
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Reviewed-by: Glen Choo <chooglen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions
