You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fixed leak in BulletPhysicsServer
This commit is contained in:
@@ -89,7 +89,9 @@ BulletPhysicsServer::BulletPhysicsServer() :
|
||||
active(true),
|
||||
active_spaces_count(0) {}
|
||||
|
||||
BulletPhysicsServer::~BulletPhysicsServer() {}
|
||||
BulletPhysicsServer::~BulletPhysicsServer() {
|
||||
bulletdelete(emptyShape);
|
||||
}
|
||||
|
||||
RID BulletPhysicsServer::shape_create(ShapeType p_shape) {
|
||||
ShapeBullet *shape = NULL;
|
||||
|
||||
Reference in New Issue
Block a user