mirror of
https://github.com/git/git.git
synced 2026-01-10 18:20:27 +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:
@@ -185,6 +185,8 @@ static void clean_tracked_sparse_directories(struct repository *r)
|
||||
item->string);
|
||||
}
|
||||
|
||||
strvec_clear(&s);
|
||||
clear_pathspec(&p);
|
||||
dir_clear(&dir);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user