Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Oct 23, 2023
1 parent bfbabc1 commit d958dcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/alloc_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ static int s_test_alloc_nothing_fn(struct aws_allocator *allocator, void *ctx) {
.mem_acquire = s_test_alloc_acquire,
.mem_release = s_test_alloc_release,
.mem_realloc = s_test_realloc,
.mem_calloc = s_test_calloc};
.mem_calloc = s_test_calloc,
};

/* realloc should handle the case correctly, return null, and free the memory */
void *p = aws_mem_acquire(&test_allocator, 12);
Expand Down

0 comments on commit d958dcc

Please sign in to comment.