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
This commit is contained in:
Ingo Weinhold 2007-01-30 13:09:15 +00:00
parent ef9c618c66
commit ee202d50bc

View File

@ -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);