diff --git a/mem/port.cc b/mem/port.cc index e080f8b81..75362b472 100644 --- a/mem/port.cc +++ b/mem/port.cc @@ -71,4 +71,6 @@ Port::memsetBlobFunctional(Addr addr, uint8_t val, int size) memset(buf, val, size); blobHelper(addr, buf, size, Write); + + delete buf; }