From f568799e1b77a0957f8b6e79cdb8894272b0dcd9 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 17 Apr 2009 11:40:03 +0000 Subject: [PATCH] Don't leak the Team objects for teams that are gone. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30228 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/debug/profile/profile.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/debug/profile/profile.cpp b/src/bin/debug/profile/profile.cpp index 3cf5678064..255469fec8 100644 --- a/src/bin/debug/profile/profile.cpp +++ b/src/bin/debug/profile/profile.cpp @@ -806,6 +806,7 @@ main(int argc, const char* const* argv) break; case B_DEBUGGER_MESSAGE_TEAM_DELETED: // a debugged team is gone -- quit, if it is our team + threadManager.RemoveTeam(message.origin.team); quitLoop = message.origin.team == teamID; break; case B_DEBUGGER_MESSAGE_TEAM_EXEC: