replaced NULL with ARC_ConfigType_EmptyDestroyFn for reference and arrays
This commit is contained in:
parent
a6a34a933b
commit
ef1888ae71
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue