diff options
author | Diva Canto | 2009-10-04 09:20:01 -0700 |
---|---|---|
committer | Diva Canto | 2009-10-04 09:20:01 -0700 |
commit | f21f3727df3ec76a3f65cf6b889c48ff1326086e (patch) | |
tree | 5553b6e38438d1238db03501badf88bac0ec908b /OpenSim/Framework/Servers | |
parent | Trying to avoid the null pointer exception in J2KImage, RunUpdate. (diff) | |
download | opensim-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/Framework/Servers')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/AsynchronousRestObjectRequester.cs | 3 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/SynchronousRestFormsRequester.cs | 3 |
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 | } |