From 4582c57d9e8f604f73d333678633464bdfe527b8 Mon Sep 17 00:00:00 2001 From: Andrei Lascu Date: Wed, 19 Jun 2024 14:32:24 +0100 Subject: [PATCH] fixup! Improve comp-utils --- src/comp_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comp_utils.c b/src/comp_utils.c index a21213f..50a8a7e 100644 --- a/src/comp_utils.c +++ b/src/comp_utils.c @@ -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);