diff options
| author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-05-04 15:59:13 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-05-08 12:18:20 +0900 |
| commit | 2e11f58fa6a0c904d9b00e51cfb2d8a3ee77b360 (patch) | |
| tree | 268786c219d42ae0975509ddbc4ac6fe2731d16a /commit.c | |
| parent | name-rev: avoid leaking memory in the `deref` case (diff) | |
| download | git-2e11f58fa6a0c904d9b00e51cfb2d8a3ee77b360.tar.gz git-2e11f58fa6a0c904d9b00e51cfb2d8a3ee77b360.zip | |
show_worktree(): plug memory leak
The buffer allocated by shorten_unambiguous_ref() needs to be released.
Discovered by Coverity.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
