diff options
author | Stinson Linden <stinson@lindenlab.com> | 2014-04-25 23:30:53 +0100 |
---|---|---|
committer | Stinson Linden <stinson@lindenlab.com> | 2014-04-25 23:30:53 +0100 |
commit | 582c10cc47f7a07b4de961e8ef954b5cc935cd16 (patch) | |
tree | ee5ad9c1db7cfd0c08f5d91967845acc0eb03116 /indra/llmessage | |
parent | 721ccc41bb6fca559146098a8cfdf02c785e6618 (diff) |
MAINT-4009: Ensuring to delete array data with the array delete in the RawInjector destructor.
Diffstat (limited to 'indra/llmessage')
-rwxr-xr-x | indra/llmessage/llhttpclient.cpp | 2 |
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"; } |