Fix an incorrect declaration to free the array unique_ptr.
Change-Id: I863708576482584156cd37f8e21aa824bdc7abb7
}
const size_t bufSize = 64*1024;
- std::unique_ptr<uint8_t> in(new uint8_t[bufSize]);
- std::unique_ptr<uint8_t> out(new uint8_t[bufSize]);
+ std::unique_ptr<uint8_t[]> in(new uint8_t[bufSize]);
+ std::unique_ptr<uint8_t[]> out(new uint8_t[bufSize]);
if ((in == nullptr) || (out == nullptr)) {
fprintf(stderr, "Could not allocate memory");
close(traceFD);