diff options
author | UbitUmarov | 2016-08-22 08:12:32 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-22 08:12:32 +0100 |
commit | 39e92adaf2b34899ee2b9e606ae81f2288243bc6 (patch) | |
tree | ed2371afbf828821445e975248bcfec9bcf74a25 /OpenSim/Region | |
parent | locking issue (diff) | |
download | opensim-SC_OLD-39e92adaf2b34899ee2b9e606ae81f2288243bc6.zip opensim-SC_OLD-39e92adaf2b34899ee2b9e606ae81f2288243bc6.tar.gz opensim-SC_OLD-39e92adaf2b34899ee2b9e606ae81f2288243bc6.tar.bz2 opensim-SC_OLD-39e92adaf2b34899ee2b9e606ae81f2288243bc6.tar.xz |
workaround potencial memory leak
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs index 959829c..88ce305 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | |||
@@ -1428,6 +1428,10 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
1428 | 1428 | ||
1429 | mapTexture.Save(exportPath, ImageFormat.Jpeg); | 1429 | mapTexture.Save(exportPath, ImageFormat.Jpeg); |
1430 | 1430 | ||
1431 | g.Dispose(); | ||
1432 | mapTexture.Dispose(); | ||
1433 | sea.Dispose(); | ||
1434 | |||
1431 | m_log.InfoFormat( | 1435 | m_log.InfoFormat( |
1432 | "[WORLD MAP]: Successfully exported world map for {0} to {1}", | 1436 | "[WORLD MAP]: Successfully exported world map for {0} to {1}", |
1433 | m_scene.RegionInfo.RegionName, exportPath); | 1437 | m_scene.RegionInfo.RegionName, exportPath); |