Skip to content

Commit 303cf2b

Browse files
committed
transport: release object filter options
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]>
1 parent 15ece3e commit 303cf2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

transport-helper.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ static int release_helper(struct transport *transport)
404404
free(data->import_marks);
405405
free(data->export_marks);
406406
res = disconnect_helper(transport);
407+
list_objects_filter_release(&data->transport_options.filter_options);
407408
free(transport->data);
408409
return res;
409410
}

0 commit comments

Comments
 (0)