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);
|
item->string);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
strvec_clear(&s);
|
||||||
|
clear_pathspec(&p);
|
||||||
dir_clear(&dir);
|
dir_clear(&dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user