From 35a53ef1d76c193c3a0031d5d8eb5fa2037b69d0 Mon Sep 17 00:00:00 2001 From: Aleric Inglewood Date: Mon, 13 Aug 2012 21:59:57 +0200 Subject: [PATCH] Bug fix (needed for libcwd with memory allocation debugging) --- indra/llmessage/llhttpclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llmessage/llhttpclient.cpp b/indra/llmessage/llhttpclient.cpp index 5e201710f..c8e706f44 100644 --- a/indra/llmessage/llhttpclient.cpp +++ b/indra/llmessage/llhttpclient.cpp @@ -123,7 +123,7 @@ namespace { public: RawInjector(const U8* data, S32 size) : mData(data), mSize(size) {} - virtual ~RawInjector() {delete mData;} + virtual ~RawInjector() {delete [] mData;} const char* contentType() { return "application/octet-stream"; }