From 2955dc8ecfa4c5eace39553e46679b996992e4a8 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Wed, 18 Dec 2024 23:22:02 +0100 Subject: [PATCH] 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 --- transport-helper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/transport-helper.c b/transport-helper.c index 7513fd7eea05e4..5459010f44b54e 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -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; }