From 31624a680fa8b5ef2ddbc7f6eda49a893dbc3714 Mon Sep 17 00:00:00 2001 From: Dmitriy Musatkin Date: Mon, 23 Oct 2023 00:37:15 -0700 Subject: [PATCH] fix windows --- source/windows/system_resource_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/windows/system_resource_utils.c b/source/windows/system_resource_utils.c index 1b5eadc7b..65e3157c4 100644 --- a/source/windows/system_resource_utils.c +++ b/source/windows/system_resource_utils.c @@ -12,7 +12,7 @@ int aws_init_memory_usage_for_current_process(struct aws_memory_usage *memory_usage) { AWS_PRECONDITION(memory_usage); - AWS_ZERO_STRUCT(memory_usage); + AWS_ZERO_STRUCT(*memory_usage); HANDLE hProcess = GetCurrentProcess(); PROCESS_MEMORY_COUNTERS pmc;