Skip to content
Snippets Groups Projects
Commit 582c10cc authored by Stinson Linden's avatar Stinson Linden
Browse files

MAINT-4009: Ensuring to delete array data with the array delete in the RawInjector destructor.

parent 721ccc41
No related branches found
No related tags found
No related merge requests found
...@@ -124,7 +124,7 @@ namespace ...@@ -124,7 +124,7 @@ namespace
{ {
public: public:
RawInjector(const U8* data, S32 size) : mData(data), mSize(size) {} 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"; } const char* contentType() { return "application/octet-stream"; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment