Changeset 482c86f in mainline for uspace/srv/loader/main.c


Ignore:
Timestamp:
2009-04-05T21:09:59Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
Children:
a78d001
Parents:
0175246
Message:

NS was forgetting to hangup phones. One phone was leaked for every load attempt and when all 16 phones were exhausted, NS would lock up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/main.c

    r0175246 r482c86f  
    179179       
    180180        ipc_data_write_finalize(callid, arg_buf, buf_len);
    181         ipc_answer_0(rid, EOK);
    182181       
    183182        arg_buf[buf_len] = '\0';
     
    199198        if (argv == NULL) {
    200199                free(arg_buf);
    201                 ipc_answer_0(callid, ENOMEM);
    202200                ipc_answer_0(rid, ENOMEM);
    203201                return;
    204202        }
    205        
     203
    206204        /*
    207205         * Fill argv with argument pointers
     
    219217        argc = n;
    220218        argv[n] = NULL;
     219
     220        ipc_answer_0(rid, EOK);
    221221}
    222222
Note: See TracChangeset for help on using the changeset viewer.