From ef1888ae719d655c409d3427a35fcb7624e1ed07 Mon Sep 17 00:00:00 2001 From: herbglitch Date: Mon, 24 Mar 2025 20:39:34 -0600 Subject: [PATCH] replaced NULL with ARC_ConfigType_EmptyDestroyFn for reference and arrays --- src/std/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/std/config.c b/src/std/config.c index 00e94bb..823da15 100644 --- a/src/std/config.c +++ b/src/std/config.c @@ -400,7 +400,7 @@ void ARC_ConfigData_RunVariableLineTag(ARC_ParserTagToken *tagToken, ARC_Config if(value != NULL){ //point to the already stored data typeData->data = value; - typeData->destroyFn = NULL; + typeData->destroyFn = ARC_ConfigType_EmptyDestroyFn; //add to the current group hashtable ARC_Hashtable_Add(config->currentGroup, (void *)nameVariableCStr, (void *)typeData);