diff options
Diffstat (limited to 'src/dev/arm/vgic.cc')
-rw-r--r-- | src/dev/arm/vgic.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dev/arm/vgic.cc b/src/dev/arm/vgic.cc index 60866f1f4..6744ad513 100644 --- a/src/dev/arm/vgic.cc +++ b/src/dev/arm/vgic.cc @@ -60,6 +60,12 @@ VGic::VGic(const Params *p) assert(sys->numRunningContexts() <= VGIC_CPU_MAX); } +VGic::~VGic() +{ + for (int x = 0; x < VGIC_CPU_MAX; x++) + delete postVIntEvent[x]; +} + Tick VGic::read(PacketPtr pkt) { |