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;