summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorLynx Linden <lynx@lindenlab.com>2010-06-14 17:29:22 +0100
committerLynx Linden <lynx@lindenlab.com>2010-06-14 17:29:22 +0100
commitfbc95fe7e77ed093f8f7938a4755ce6b175dcaff (patch)
tree4fb99de82f245869cf0fb69e6aac1b0847599603 /indra
parent80a98a100bd934fc73f90f1153de78fe0df93847 (diff)
EXT-7855 FIXED Memory leak in llmessage/llhttpclient.cpp
We now free the fileBuffer when we're done in VFileInjector::process_impl()
Diffstat (limited to 'indra')
-rw-r--r--indra/llmessage/llhttpclient.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llmessage/llhttpclient.cpp b/indra/llmessage/llhttpclient.cpp
index 9c2e4b5658..e8dc207114 100644
--- a/indra/llmessage/llhttpclient.cpp
+++ b/indra/llmessage/llhttpclient.cpp
@@ -199,6 +199,7 @@ namespace
fileBuffer = new U8 [fileSize];
vfile.read(fileBuffer, fileSize);
ostream.write((char*)fileBuffer, fileSize);
+ delete [] fileBuffer;
eos = true;
return STATUS_DONE;
}