summaryrefslogtreecommitdiff
path: root/servers/physics_2d
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-10-24 21:04:16 +0200
committerGitHub <noreply@github.com>2019-10-24 21:04:16 +0200
commit930d6d8ca4c34b0383d232335902f7f808806a66 (patch)
treec1b37622a8ef8830b8866167002bbe8b06879db5 /servers/physics_2d
parent68a54803c28dc2edab99225f2be7f9be0f8dcbed (diff)
parentd468e2887417e66ea3f8c524c4015ad73963f59b (diff)
Merge pull request #33042 from qarmin/fix_leak_capsule_shape
Fix leak in Physics2DServerSW
Diffstat (limited to 'servers/physics_2d')
-rw-r--r--servers/physics_2d/physics_2d_server_wrap_mt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/physics_2d/physics_2d_server_wrap_mt.cpp b/servers/physics_2d/physics_2d_server_wrap_mt.cpp
index c698290fd9..9fc15d9660 100644
--- a/servers/physics_2d/physics_2d_server_wrap_mt.cpp
+++ b/servers/physics_2d/physics_2d_server_wrap_mt.cpp
@@ -139,6 +139,7 @@ void Physics2DServerWrapMT::finish() {
segment_shape_free_cached_ids();
circle_shape_free_cached_ids();
rectangle_shape_free_cached_ids();
+ capsule_shape_free_cached_ids();
convex_polygon_shape_free_cached_ids();
concave_polygon_shape_free_cached_ids();