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:
parent
ef9c618c66
commit
ee202d50bc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user