diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-03-13 17:34:52 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-03-13 17:34:52 -0400 |
commit | c6188a226472c23f173b04b0fa86614cf717c9e7 (patch) | |
tree | 03caf798ca20c89d33c5444c10d3f39e9595e41f /src/cpu/ozone/cpu_impl.hh | |
parent | a068d6db0fff7056abb06bb8a99494b63bd169e1 (diff) | |
download | gem5-c6188a226472c23f173b04b0fa86614cf717c9e7.tar.xz |
fix segfault when peer owner attempts to use functional port
--HG--
extra : convert_revision : 3702b4bd038a59bff823c3b428fdfbaabc9715df
Diffstat (limited to 'src/cpu/ozone/cpu_impl.hh')
-rw-r--r-- | src/cpu/ozone/cpu_impl.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/ozone/cpu_impl.hh b/src/cpu/ozone/cpu_impl.hh index 4a76ae110..d78162243 100644 --- a/src/cpu/ozone/cpu_impl.hh +++ b/src/cpu/ozone/cpu_impl.hh @@ -748,7 +748,7 @@ template <class Impl> void OzoneCPU<Impl>::OzoneTC::delVirtPort(VirtualPort *vp) { - delete vp->getPeer(); + vp->removeConn(); delete vp; } #endif |