aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDiva Canto2009-10-04 09:20:01 -0700
committerDiva Canto2009-10-04 09:20:01 -0700
commitf21f3727df3ec76a3f65cf6b889c48ff1326086e (patch)
tree5553b6e38438d1238db03501badf88bac0ec908b /OpenSim
parentTrying to avoid the null pointer exception in J2KImage, RunUpdate. (diff)
downloadopensim-SC-f21f3727df3ec76a3f65cf6b889c48ff1326086e.zip
opensim-SC-f21f3727df3ec76a3f65cf6b889c48ff1326086e.tar.gz
opensim-SC-f21f3727df3ec76a3f65cf6b889c48ff1326086e.tar.bz2
opensim-SC-f21f3727df3ec76a3f65cf6b889c48ff1326086e.tar.xz
Leaving the MemoryStreams unclosed.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/AsynchronousRestObjectRequester.cs3
-rw-r--r--OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs3
2 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/AsynchronousRestObjectRequester.cs b/OpenSim/Framework/Servers/HttpServer/AsynchronousRestObjectRequester.cs
index aa70362..03c12dd 100644
--- a/OpenSim/Framework/Servers/HttpServer/AsynchronousRestObjectRequester.cs
+++ b/OpenSim/Framework/Servers/HttpServer/AsynchronousRestObjectRequester.cs
@@ -108,7 +108,8 @@ namespace OpenSim.Framework.Servers.HttpServer
108 } 108 }
109 finally 109 finally
110 { 110 {
111 buffer.Close(); 111 // Let's not close this
112 //buffer.Close();
112 respStream.Close(); 113 respStream.Close();
113 response.Close(); 114 response.Close();
114 } 115 }
diff --git a/OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs b/OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs
index 11df103..8a490f7 100644
--- a/OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs
+++ b/OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs
@@ -79,7 +79,8 @@ namespace OpenSim.Framework.Servers.HttpServer
79 { 79 {
80 if (requestStream != null) 80 if (requestStream != null)
81 requestStream.Close(); 81 requestStream.Close();
82 buffer.Close(); 82 // Let's not close this
83 //buffer.Close();
83 84
84 } 85 }
85 } 86 }