mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
Merge branch 'rs/plug-pattern-list-leak-in-lof' into maint-2.39
Leak fix. * rs/plug-pattern-list-leak-in-lof: list-objects-filter: plug pattern_list leak
This commit is contained in:
commit
5a8f4c8adc
|
@ -514,6 +514,7 @@ static enum list_objects_filter_result filter_sparse(
|
||||||
static void filter_sparse_free(void *filter_data)
|
static void filter_sparse_free(void *filter_data)
|
||||||
{
|
{
|
||||||
struct filter_sparse_data *d = filter_data;
|
struct filter_sparse_data *d = filter_data;
|
||||||
|
clear_pattern_list(&d->pl);
|
||||||
free(d->array_frame);
|
free(d->array_frame);
|
||||||
free(d);
|
free(d);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue