aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-06-23 22:08:44 -0700
committerJacek Antonelli2010-06-26 19:01:36 -0500
commite48d17b15a4eda956c7ce79b13091126022be17e (patch)
tree808f64a25d8998082f9c4702074a233e1a02a778 /linden
parentApplied patch by Thickbrick Sleaford for SNOW-698: Crash when http-getting an... (diff)
downloadmeta-impy-e48d17b15a4eda956c7ce79b13091126022be17e.zip
meta-impy-e48d17b15a4eda956c7ce79b13091126022be17e.tar.gz
meta-impy-e48d17b15a4eda956c7ce79b13091126022be17e.tar.bz2
meta-impy-e48d17b15a4eda956c7ce79b13091126022be17e.tar.xz
Fixed memory leak in llmessage/llhttpclient.cpp (backported from SL 2.0)
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/llmessage/llhttpclient.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/llmessage/llhttpclient.cpp b/linden/indra/llmessage/llhttpclient.cpp
index 23d9529..c26ef5e 100644
--- a/linden/indra/llmessage/llhttpclient.cpp
+++ b/linden/indra/llmessage/llhttpclient.cpp
@@ -195,6 +195,7 @@ namespace
195 fileBuffer = new U8 [fileSize]; 195 fileBuffer = new U8 [fileSize];
196 vfile.read(fileBuffer, fileSize); 196 vfile.read(fileBuffer, fileSize);
197 ostream.write((char*)fileBuffer, fileSize); 197 ostream.write((char*)fileBuffer, fileSize);
198 delete [] fileBuffer;
198 eos = true; 199 eos = true;
199 return STATUS_DONE; 200 return STATUS_DONE;
200 } 201 }