From 889a99083dbb4f16e8719832a9a569b34d080648 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Khan Date: Wed, 25 Oct 2023 16:09:22 -0700 Subject: [PATCH] remove extra loader for now --- tests/s3_compute_platform_info_test.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/s3_compute_platform_info_test.c b/tests/s3_compute_platform_info_test.c index 9451454c4..47b0f31cc 100644 --- a/tests/s3_compute_platform_info_test.c +++ b/tests/s3_compute_platform_info_test.c @@ -77,7 +77,6 @@ static int s_load_platform_info_from_global_state_sanity_test(struct aws_allocat ASSERT_TRUE(platform_info->cpu_group_info_array_length > 0); if (platform_info->instance_type.len) { - struct aws_s3_compute_platform_info_loader *loader = aws_s3_compute_platform_info_loader_new(allocator); const struct aws_s3_compute_platform_info *by_name_info = aws_s3_get_compute_platform_info_for_instance_type(loader, platform_info->instance_type); if (by_name_info) { @@ -89,9 +88,8 @@ static int s_load_platform_info_from_global_state_sanity_test(struct aws_allocat ASSERT_UINT_EQUALS(platform_info->cpu_group_info_array_length, by_name_info->cpu_group_info_array_length); ASSERT_UINT_EQUALS(platform_info->max_throughput_gbps, by_name_info->max_throughput_gbps); } - - aws_s3_compute_platform_info_loader_release(loader); } + aws_s3_compute_platform_info_loader_release(loader); aws_s3_library_clean_up(); return AWS_OP_SUCCESS;