From cfcd8aa7529e06b967eeb6cbafdbc46d16f3d45a Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Sun, 2 Oct 2022 14:03:44 +0100 Subject: [PATCH] tweak --- core/engine_node.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/engine_node.c b/core/engine_node.c index 87be673..5d00325 100644 --- a/core/engine_node.c +++ b/core/engine_node.c @@ -77,10 +77,9 @@ void freeEngineNode(EngineNode* node) { if (node->functions != NULL) { freeLiteralDictionary(node->functions); + FREE(LiteralDictionary, node->functions); } - FREE(LiteralDictionary, node->functions); - node->children = NULL; node->capacity = -1; node->count = -1;