summaryrefslogtreecommitdiff
path: root/src/dev/arm/gic_pl390.hh
diff options
context:
space:
mode:
authorSean Wilson <spwilson2@wisc.edu>2017-06-29 09:12:26 -0500
committerSean Wilson <spwilson2@wisc.edu>2017-06-29 19:10:13 +0000
commit637e1ec740b78bf063190c3068a9c50cf8207637 (patch)
tree3dd8f26f5a4a6c18c6808cf408ecebbe05eeb535 /src/dev/arm/gic_pl390.hh
parent9e8aa9b973e34885283f1d41b041321b7c4f7b32 (diff)
downloadgem5-637e1ec740b78bf063190c3068a9c50cf8207637.tar.xz
arm: Fix memleak in Pl390 by adding destructor
Change-Id: I3395e64311f6aa7bbfb6eee9bfec82e832bcbd4d Signed-off-by: Sean Wilson <spwilson2@wisc.edu> Reviewed-on: https://gem5-review.googlesource.com/3901 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/dev/arm/gic_pl390.hh')
-rw-r--r--src/dev/arm/gic_pl390.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dev/arm/gic_pl390.hh b/src/dev/arm/gic_pl390.hh
index 05c9b5f70..5c8a71222 100644
--- a/src/dev/arm/gic_pl390.hh
+++ b/src/dev/arm/gic_pl390.hh
@@ -365,6 +365,7 @@ class Pl390 : public BaseGic, public BaseGicRegisters
return dynamic_cast<const Params *>(_params);
}
Pl390(const Params *p);
+ ~Pl390();
DrainState drain() override;