From ee202d50bca56f31159cf02d78eb4fa0af24930f Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 30 Jan 2007 13:09:15 +0000 Subject: [PATCH] Fixed access of deleted object in out of resources situation. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20019 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/registrar/TRoster.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/servers/registrar/TRoster.cpp b/src/servers/registrar/TRoster.cpp index 0fb11472de..d02bf3a45b 100644 --- a/src/servers/registrar/TRoster.cpp +++ b/src/servers/registrar/TRoster.cpp @@ -539,6 +539,7 @@ PRINT(("team: %ld, thread: %ld, token: %lu\n", team, thread, token)); if (info->port >= 0) delete_port(info->port); delete info; + info = NULL; } // handle pending IsAppRegistered() requests IARRequestMap::iterator it = fIARRequestsByID.find(team);