summaryrefslogtreecommitdiff
path: root/servers/physics_2d
diff options
context:
space:
mode:
authorRafał Mikrut <mikrutrafal54@gmail.com>2019-10-24 20:12:46 +0200
committerRafał Mikrut <mikrutrafal54@gmail.com>2019-10-24 20:12:46 +0200
commitd468e2887417e66ea3f8c524c4015ad73963f59b (patch)
treee392f045ad83491f0e787cb4bcbd6079d4775e7a /servers/physics_2d
parent4ecc30cc5ed04c770efd79c2c9f2b1dc9ae0af39 (diff)
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();