1
0
Fork 0
This commit is contained in:
Adam Scott 2025-02-28 01:36:02 +01:00 committed by GitHub
commit f190d858f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -2158,6 +2158,9 @@ Object::~Object() {
for (uint32_t i = 0; i < _instance_binding_count; i++) {
gdextension_manager->untrack_instance_binding(_instance_bindings[i].token, this);
}
} else {
memfree(_instance_bindings);
_instance_bindings = nullptr;
}
}
#endif