diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-09-30 11:13:27 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-09-30 11:23:03 -0700 |
| commit | 5cca114973c602c9f8516e9ed34c76fd75fb999e (patch) | |
| tree | 2fc75d716b6d40bebc2cdd0345c765d21a498efd /diffcore-rotate.c | |
| parent | wt-status: fix leaking buffer with sparse directories (diff) | |
| download | git-5cca114973c602c9f8516e9ed34c76fd75fb999e.tar.gz git-5cca114973c602c9f8516e9ed34c76fd75fb999e.zip | |
submodule: fix leaking submodule entry list
The submodule entry list returned by `submodules_of_tree()` is never
completely free'd by its only caller. Introduce a new function that
free's the list for us and call it.
While at it, also fix the leaking `branch_point` string.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-rotate.c')
0 files changed, 0 insertions, 0 deletions
