potencial mem leak

0.9.1.0-post-fixes
UbitUmarov 2018-12-01 18:49:30 +00:00
parent 60bc64a90f
commit e08b43569e
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}