diff options
author | UbitUmarov | 2018-12-01 18:49:30 +0000 |
---|---|---|
committer | UbitUmarov | 2018-12-01 18:49:30 +0000 |
commit | e08b43569e36002f5e022304602e24465bd442b7 (patch) | |
tree | a491eea8aaace70b038de256e733896d38ec5ee5 /OpenSim | |
parent | LLSDxmlencode uint and ulong (diff) | |
download | opensim-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')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs | 1 |
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 | } |