summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorStinson Linden <stinson@lindenlab.com>2014-04-25 23:30:53 +0100
committerStinson Linden <stinson@lindenlab.com>2014-04-25 23:30:53 +0100
commit582c10cc47f7a07b4de961e8ef954b5cc935cd16 (patch)
treeee5ad9c1db7cfd0c08f5d91967845acc0eb03116 /indra/llmessage
parent721ccc41bb6fca559146098a8cfdf02c785e6618 (diff)
MAINT-4009: Ensuring to delete array data with the array delete in the RawInjector destructor.
Diffstat (limited to 'indra/llmessage')
-rwxr-xr-xindra/llmessage/llhttpclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmessage/llhttpclient.cpp b/indra/llmessage/llhttpclient.cpp
index 31a499b370..21d459b832 100755
--- a/indra/llmessage/llhttpclient.cpp
+++ b/indra/llmessage/llhttpclient.cpp
@@ -124,7 +124,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"; }