Set the members of a destroyed debug_context to invalid values.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13774 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a52d8b3391
commit
a79265708d
|
@ -44,6 +44,10 @@ destroy_debug_context(debug_context *context)
|
|||
if (context) {
|
||||
if (context->reply_port >= 0)
|
||||
delete_port(context->reply_port);
|
||||
|
||||
context->team = -1;
|
||||
context->nub_port = -1;
|
||||
context->reply_port = -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue