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/o3/thread_context_impl.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/o3') diff --git a/src/cpu/o3/thread_context_impl.hh b/src/cpu/o3/thread_context_impl.hh index d2acc6232..a145e046e 100755 --- a/src/cpu/o3/thread_context_impl.hh +++ b/src/cpu/o3/thread_context_impl.hh @@ -103,7 +103,7 @@ void O3ThreadContext::delVirtPort(VirtualPort *vp) { if (vp != thread->getVirtPort()) { - delete vp->getPeer(); + vp->removeConn(); delete vp; } } -- cgit v1.2.3