Merge pull request #33042 from qarmin/fix_leak_capsule_shape

Fix leak in Physics2DServerSW
This commit is contained in:
Rémi Verschelde 2019-10-24 21:04:16 +02:00 committed by GitHub
commit 930d6d8ca4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,6 +139,7 @@ void Physics2DServerWrapMT::finish() {
segment_shape_free_cached_ids(); segment_shape_free_cached_ids();
circle_shape_free_cached_ids(); circle_shape_free_cached_ids();
rectangle_shape_free_cached_ids(); rectangle_shape_free_cached_ids();
capsule_shape_free_cached_ids();
convex_polygon_shape_free_cached_ids(); convex_polygon_shape_free_cached_ids();
concave_polygon_shape_free_cached_ids(); concave_polygon_shape_free_cached_ids();