dtsod dollar list bug fixed

This commit is contained in:
2023-05-24 02:38:11 +06:00
parent 3d941e0688
commit 588453a2b7
2 changed files with 8 additions and 1 deletions

View File

@@ -320,6 +320,9 @@ Maybe __deserialize(char** _text, bool _calledRecursively) {
Unitype lu;
if(Hashtable_tryGet(dict,nameCPtr, &lu)){
list=(Autoarr(Unitype)*)lu.VoidPtr;
// Key is not used in that case, because it is already added
// to the table with the first dollar list item.
free(nameCPtr);
}
else{
list=Autoarr_create(Unitype,ARR_BC,ARR_BL);