Skip to content

Commit

Permalink
fixup! Improve comp-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
0152la committed Jun 19, 2024
1 parent 3b6dfb1 commit 4582c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/comp_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ realloc(void *to_realloc, size_t new_size)
{
return malloc(new_size);
}
void* new_alloc = malloc(new_size);
void *new_alloc = malloc(new_size);
size_t to_copy_size = new_size; // TODO
memcpy(new_alloc, to_realloc, to_copy_size);
free(to_realloc);
Expand Down

0 comments on commit 4582c57

Please sign in to comment.