mirror of
https://github.com/git/git
synced 2024-10-06 00:29:28 +00:00
Merge branch 'en/sparse-checkout-leakfix'
Leakfix. * en/sparse-checkout-leakfix: sparse-checkout: fix a couple minor memory leaks
This commit is contained in:
commit
9210a00d65
|
@ -185,6 +185,8 @@ static void clean_tracked_sparse_directories(struct repository *r)
|
|||
item->string);
|
||||
}
|
||||
|
||||
strvec_clear(&s);
|
||||
clear_pathspec(&p);
|
||||
dir_clear(&dir);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue