From c9c65badad4694c968a46c7cb307cab4998db194 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Thu, 2 Feb 2023 15:34:41 +0100 Subject: [PATCH] variable name typo fix --- src/core/lib/utils/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/lib/utils/memory.c b/src/core/lib/utils/memory.c index fd234ce..a2d0114 100644 --- a/src/core/lib/utils/memory.c +++ b/src/core/lib/utils/memory.c @@ -130,7 +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 (node != NULL) remove_node(node); //REMOVE FROM LIST IF FOUND free(pointer); } \ No newline at end of file