Skip to content

Commit

Permalink
transport: release object filter options
Browse files Browse the repository at this point in the history
This fixes a leak that is not detected by Git's own test suite (but by
microsoft/git's, in the t9210-scalar.sh test).

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Jan 1, 2025
1 parent ce632e9 commit 2955dc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions transport-helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ static int release_helper(struct transport *transport)
free(data->import_marks);
free(data->export_marks);
res = disconnect_helper(transport);
list_objects_filter_release(&data->transport_options.filter_options);
free(transport->data);
return res;
}
Expand Down

0 comments on commit 2955dc8

Please sign in to comment.