Changeset 2244


Ignore:
Timestamp:
Jul 11, 2005, 1:02:15 AM (20 years ago)
Author:
bird
Message:

oops.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/sys/sharedpm.c

    • Property cvs2svn:cvs-rev changed from 1.33 to 1.34
    r2243 r2244  
    34323432         * Free up termination structures.
    34333433         */
    3434         while (gpSPMHdr->pChildNotifyFreeHead)
    3435         {
     3434        __LIBC_PSPMCHILDNOTIFY pNotify;
     3435        while ((pNotify = gpSPMHdr->pChildNotifyFreeHead) != NULL)
     3436        {
     3437            gpSPMHdr->pChildNotifyFreeHead = pNotify->pNext;
    34363438            LIBCLOG_MSG("Reaping notification record %p (cb=%d pid=%#x iExitCode=%d enmDeathReason=%d)\n",
    34373439                        (void *)pNotify, pNotify->cb, pNotify->pid, pNotify->iExitCode, pNotify->enmDeathReason);
    3438             __LIBC_PSPMCHILDNOTIFY pFree = gpSPMHdr->pChildNotifyFreeHead;
    3439             gpSPMHdr->pChildNotifyFreeHead = pFree->pNext;
    3440             pFree->pNext = NULL;
    3441             pFree->enmDeathReason = __LIBC_EXIT_REASON_NONE;
    3442             spmFree(pFree);
     3440            pNotify->pNext = NULL;
     3441            pNotify->enmDeathReason = __LIBC_EXIT_REASON_NONE;
     3442            spmFree(pNotify);
    34433443        }
    34443444
Note: See TracChangeset for help on using the changeset viewer.