diff options
| author | Shaoxuan Yuan <shaoxuan.yuan02@gmail.com> | 2022-08-09 20:09:04 +0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-08-10 13:57:49 -0700 |
| commit | d57690a9c82c8888be6bb8ae17be231a2b2802e6 (patch) | |
| tree | 1bdf423ba71f82abd371f49f5064e6becbfb6374 /builtin/commit.c | |
| parent | mv: rename check_dir_in_index() to empty_dir_has_sparse_contents() (diff) | |
| download | git-d57690a9c82c8888be6bb8ae17be231a2b2802e6.tar.gz git-d57690a9c82c8888be6bb8ae17be231a2b2802e6.zip | |
mv: free the with_slash in check_dir_in_index()
with_slash may be a malloc'd pointer, and when it is, free it.
Helped-by: Derrick Stolee <derrickstolee@github.com>
Helped-by: Victoria Dye <vdye@github.com>
Signed-off-by: Shaoxuan Yuan <shaoxuan.yuan02@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
