Skip to content

Commit 5a8f4c8

Browse files
committed
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
2 parents db2a91b + faebba4 commit 5a8f4c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

list-objects-filter.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ static enum list_objects_filter_result filter_sparse(
514514
static void filter_sparse_free(void *filter_data)
515515
{
516516
struct filter_sparse_data *d = filter_data;
517+
clear_pattern_list(&d->pl);
517518
free(d->array_frame);
518519
free(d);
519520
}

0 commit comments

Comments
 (0)