task_t and dealloc?
task_t and dealloc?
- Subject: task_t and dealloc?
- From: Stephane Sudre <email@hidden>
- Date: Fri, 4 Nov 2005 13:30:01 +0100
When you do something like this:
task_t task;
tErrorCode=task_for_pid(mach_task_self(),inPID,&task);
Do you have to deallocate 'task' when you don't need it anymore? If
yes, how do you do this?
mach_port_deallocate(mach_task_self(),task);
?
Because I'm seeing 1 warning during compilation when I use this.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden