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:
@@ -539,6 +539,7 @@ PRINT(("team: %ld, thread: %ld, token: %lu\n", team, thread, token));
|
|||||||
if (info->port >= 0)
|
if (info->port >= 0)
|
||||||
delete_port(info->port);
|
delete_port(info->port);
|
||||||
delete info;
|
delete info;
|
||||||
|
info = NULL;
|
||||||
}
|
}
|
||||||
// handle pending IsAppRegistered() requests
|
// handle pending IsAppRegistered() requests
|
||||||
IARRequestMap::iterator it = fIARRequestsByID.find(team);
|
IARRequestMap::iterator it = fIARRequestsByID.find(team);
|
||||||
|
|||||||
Reference in New Issue
Block a user