replaced NULL with ARC_ConfigType_EmptyDestroyFn for reference and arrays

This commit is contained in:
herbglitch 2025-03-24 20:39:34 -06:00
parent a6a34a933b
commit ef1888ae71

View file

@ -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);