From e08b43569e36002f5e022304602e24465bd442b7 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 1 Dec 2018 18:49:30 +0000 Subject: [PATCH] potencial mem leak --- OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs b/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs index 60cc5497da..9d60d0b6e1 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs @@ -973,6 +973,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde if(collider != IntPtr.Zero) { + m_parent_scene.actor_name_map.Remove(collider); SafeNativeMethods.SpaceDestroy(collider); collider = IntPtr.Zero; }