Skip to content

Commit

Permalink
fix hang
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Oct 23, 2023
1 parent c61fb4f commit aa58722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/posix/system_resource_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,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);
struct rusage usage;

if (getrusage(RUSAGE_SELF, &usage)) {
Expand Down

0 comments on commit aa58722

Please sign in to comment.