diff options
| author | Rubén Justo <rjusto@gmail.com> | 2022-09-25 00:53:18 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-09-26 11:14:49 -0700 |
| commit | abcac2e19faaa0c64693533c9ee368dd4fd581f4 (patch) | |
| tree | 0fddbccb3720383e81f7f58396415c11c0e8ea5d /gitweb/static/js/javascript-detection.js | |
| parent | Git 2.31.4 (diff) | |
| download | git-abcac2e19faaa0c64693533c9ee368dd4fd581f4.tar.gz git-abcac2e19faaa0c64693533c9ee368dd4fd581f4.zip | |
ref-filter.c: fix a leak in get_head_description
In 2708ce62d2 (branch: sort detached HEAD based on a flag, 2021-01-07) a
call to wt_status_state_free_buffers, responsible of freeing the
resources that could be allocated in the local struct wt_status_state
state, was eliminated.
The call to wt_status_state_free_buffers was introduced in 962dd7ebc3
(wt-status: introduce wt_status_state_free_buffers(), 2020-09-27). This
commit brings back that call in get_head_description.
Signed-off-by: Rubén Justo <rjusto@gmail.com>
Reviewed-by: Martin Ågren <martin.agren@gmail.com>
Acked-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/static/js/javascript-detection.js')
0 files changed, 0 insertions, 0 deletions
