From c3e602de90b48893dca09fb659a139e2f4453c66 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Thu, 2 Feb 2023 15:27:05 +0100 Subject: [PATCH] random reformatting --- src/core/lib/utils/memory.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/core/lib/utils/memory.c b/src/core/lib/utils/memory.c index 9831122..fd234ce 100644 --- a/src/core/lib/utils/memory.c +++ b/src/core/lib/utils/memory.c @@ -130,10 +130,7 @@ void why2_free(void *pointer) //VARIABLES node_t *node = get_node(pointer); - if (pointer != NULL) - { - remove_node(node); //REMOVE FROM LIST IF FOUND - } + if (pointer != NULL) remove_node(node); //REMOVE FROM LIST IF FOUND free(pointer); } \ No newline at end of file