From fbc95fe7e77ed093f8f7938a4755ce6b175dcaff Mon Sep 17 00:00:00 2001 From: Lynx Linden Date: Mon, 14 Jun 2010 17:29:22 +0100 Subject: EXT-7855 FIXED Memory leak in llmessage/llhttpclient.cpp We now free the fileBuffer when we're done in VFileInjector::process_impl() --- indra/llmessage/llhttpclient.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/llmessage') 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; } -- cgit v1.2.3