mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Prepped for #160, fixed a stack-shrink bug
This commit is contained in:
@@ -139,7 +139,7 @@ void Toy_freeValue(Toy_Value value) {
|
||||
Toy_freeValue(ptr->data[i]);
|
||||
}
|
||||
|
||||
TOY_ARRAY_FREE(ptr);
|
||||
Toy_resizeArray(ptr, 0);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user