From c6188a226472c23f173b04b0fa86614cf717c9e7 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Tue, 13 Mar 2007 17:34:52 -0400 Subject: fix segfault when peer owner attempts to use functional port --HG-- extra : convert_revision : 3702b4bd038a59bff823c3b428fdfbaabc9715df --- src/cpu/ozone/cpu_impl.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/ozone/cpu_impl.hh') 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 void OzoneCPU::OzoneTC::delVirtPort(VirtualPort *vp) { - delete vp->getPeer(); + vp->removeConn(); delete vp; } #endif -- cgit v1.2.3