mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-06 09:24:42 +00:00
Fix memory leak with checkout tree iterator
This commit is contained in:
parent
0d70f65051
commit
dde7602ae6
@ -44,7 +44,6 @@ typedef struct {
|
|||||||
git_checkout_opts opts;
|
git_checkout_opts opts;
|
||||||
bool opts_free_baseline;
|
bool opts_free_baseline;
|
||||||
char *pfx;
|
char *pfx;
|
||||||
git_iterator *baseline;
|
|
||||||
git_index *index;
|
git_index *index;
|
||||||
git_pool pool;
|
git_pool pool;
|
||||||
git_vector removes;
|
git_vector removes;
|
||||||
@ -1241,7 +1240,7 @@ cleanup:
|
|||||||
|
|
||||||
git_diff_list_free(data.diff);
|
git_diff_list_free(data.diff);
|
||||||
git_iterator_free(workdir);
|
git_iterator_free(workdir);
|
||||||
git_iterator_free(data.baseline);
|
git_iterator_free(baseline);
|
||||||
git__free(actions);
|
git__free(actions);
|
||||||
git__free(counts);
|
git__free(counts);
|
||||||
checkout_data_clear(&data);
|
checkout_data_clear(&data);
|
||||||
|
Loading…
Reference in New Issue
Block a user