aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2016-08-22 08:12:32 +0100
committerUbitUmarov2016-08-22 08:12:32 +0100
commit39e92adaf2b34899ee2b9e606ae81f2288243bc6 (patch)
treeed2371afbf828821445e975248bcfec9bcf74a25
parentlocking issue (diff)
downloadopensim-SC-39e92adaf2b34899ee2b9e606ae81f2288243bc6.zip
opensim-SC-39e92adaf2b34899ee2b9e606ae81f2288243bc6.tar.gz
opensim-SC-39e92adaf2b34899ee2b9e606ae81f2288243bc6.tar.bz2
opensim-SC-39e92adaf2b34899ee2b9e606ae81f2288243bc6.tar.xz
workaround potencial memory leak
-rw-r--r--OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs4
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);