diff options
Diffstat (limited to 'src/dev/i8254xGBe.cc')
-rw-r--r-- | src/dev/i8254xGBe.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dev/i8254xGBe.cc b/src/dev/i8254xGBe.cc index 29bd5adc2..1f2c92425 100644 --- a/src/dev/i8254xGBe.cc +++ b/src/dev/i8254xGBe.cc @@ -122,6 +122,11 @@ IGbE::IGbE(const Params *p) txFifo.clear(); } +IGbE::~IGbE() +{ + delete etherInt; +} + void IGbE::init() { @@ -827,6 +832,8 @@ template<class T> IGbE::DescCache<T>::~DescCache() { reset(); + delete[] fetchBuf; + delete[] wbBuf; } template<class T> |