diff options
Diffstat (limited to 'mem/port.cc')
-rw-r--r-- | mem/port.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mem/port.cc b/mem/port.cc index d19d8146c..d312f3e3c 100644 --- a/mem/port.cc +++ b/mem/port.cc @@ -72,5 +72,5 @@ Port::memsetBlob(Addr addr, uint8_t val, int size) memset(buf, val, size); blobHelper(addr, buf, size, Write); - delete buf; + delete [] buf; } |