aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/ubOde
diff options
context:
space:
mode:
authorUbitUmarov2018-12-01 18:49:30 +0000
committerUbitUmarov2018-12-01 18:49:30 +0000
commite08b43569e36002f5e022304602e24465bd442b7 (patch)
treea491eea8aaace70b038de256e733896d38ec5ee5 /OpenSim/Region/PhysicsModules/ubOde
parentLLSDxmlencode uint and ulong (diff)
downloadopensim-SC-e08b43569e36002f5e022304602e24465bd442b7.zip
opensim-SC-e08b43569e36002f5e022304602e24465bd442b7.tar.gz
opensim-SC-e08b43569e36002f5e022304602e24465bd442b7.tar.bz2
opensim-SC-e08b43569e36002f5e022304602e24465bd442b7.tar.xz
potencial mem leak
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde')
-rw-r--r--OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs b/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs
index 60cc549..9d60d0b 100644
--- a/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs
+++ b/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs
@@ -973,6 +973,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
973 973
974 if(collider != IntPtr.Zero) 974 if(collider != IntPtr.Zero)
975 { 975 {
976 m_parent_scene.actor_name_map.Remove(collider);
976 SafeNativeMethods.SpaceDestroy(collider); 977 SafeNativeMethods.SpaceDestroy(collider);
977 collider = IntPtr.Zero; 978 collider = IntPtr.Zero;
978 } 979 }