Projects
Browse Source     Search     Timeline     Wiki

Changeset 23305

Show
Ignore:
Timestamp:
07/11/07 15:29:16 (17 months ago)
Author:
zarzycki@…
Message:

<rdar://problem/5328364> Leopard9A491: After Installing 9A491 the system froze at restart in the installer.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/launchd/src/launchd_runtime.c

    r23297 r23305  
    11961196{ 
    11971197        mach_msg_type_number_t outvalCnt; 
     1198        mach_port_t tmp_port; 
    11981199        vm_offset_t outval; 
    11991200 
     
    12101211        } 
    12111212 
    1212         if (!launchd_assumes(job_mig_log_drain_reply(drain_reply_port, 0, outval, outvalCnt) == 0)) { 
    1213                 launchd_assumes(launchd_mport_deallocate(drain_reply_port) == KERN_SUCCESS); 
    1214         } 
    1215  
     1213        tmp_port = drain_reply_port; 
    12161214        drain_reply_port = MACH_PORT_NULL; 
     1215 
     1216        if (!launchd_assumes(job_mig_log_drain_reply(tmp_port, 0, outval, outvalCnt) == 0)) { 
     1217                launchd_assumes(launchd_mport_deallocate(tmp_port) == KERN_SUCCESS); 
     1218        } 
    12171219 
    12181220        mig_deallocate(outval, outvalCnt);