diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-02 21:41:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-02 21:41:42 +0200 |
commit | e0d610203c5194400a5932f36ae0d96c8ede7f0f (patch) | |
tree | 68c2fb70ffafe632d82a4292ca8c0fade49da448 /scene/3d/soft_body.cpp | |
parent | 9e1e4defefdd2e08eb1a8672c27bef25c58de88b (diff) | |
parent | f7dad789e958fed81bb167b14c5add45ef723cf9 (diff) |
Merge pull request #30254 from bojidar-bg/30224-docdata-generate
Fix various memory leaks and errors
Diffstat (limited to 'scene/3d/soft_body.cpp')
-rw-r--r-- | scene/3d/soft_body.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/soft_body.cpp b/scene/3d/soft_body.cpp index a9d96292a1..b9f6865298 100644 --- a/scene/3d/soft_body.cpp +++ b/scene/3d/soft_body.cpp @@ -712,6 +712,7 @@ SoftBody::SoftBody() : } SoftBody::~SoftBody() { + PhysicsServer::get_singleton()->free(physics_rid); } void SoftBody::reset_softbody_pin() { |