PERFORCE change 105372 for review
Todd Miller
millert at FreeBSD.org
Wed Aug 30 21:32:56 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=105372
Change 105372 by millert at millert_g4tower on 2006/08/30 21:30:43
Do not consume a port reference in labelh_destroy(),
ipc_port_destroy() will do this for us. Fixes an int
underflow that was causing label handle ipc ports to never
be deallocated.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/ipc/ipc_labelh.c#3 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/ipc/ipc_labelh.c#3 (text+ko) ====
@@ -202,7 +202,6 @@
{
ipc_labelh_t lh = (ipc_labelh_t) port->ip_kobject;
- ip_release(lh->lh_port);
mac_port_destroy_label(&lh->lh_label);
zfree(ipc_labelh_zone, (vm_offset_t)lh);
}
More information about the trustedbsd-cvs
mailing list