You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Fixed leak in BulletPhysicsServer
(cherry picked from commit e5ae9750ed)
This commit is contained in:
committed by
Hein-Pieter van Braam
parent
9ab9dd73b0
commit
42f351db0d
@@ -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