Changeset a281fc82 in mainline


Ignore:
Timestamp:
2010-02-06T09:47:40Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
25e963a
Parents:
d42976c
Message:

Do not leak msg in error paths after ipc_forward_fast() failed.
This fix is rather conservative one; ticket #181 contains a proposal for
"asynchronous" waiting for a reply.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/async.c

    rd42976c ra281fc82  
    13101310            IPC_FF_ROUTE_FROM_ME);
    13111311        if (retval != EOK) {
     1312                async_wait_for(msg, NULL);
    13121313                ipc_answer_0(callid, retval);
    13131314                return retval;
     
    14951496            IPC_FF_ROUTE_FROM_ME);
    14961497        if (retval != EOK) {
     1498                async_wait_for(msg, NULL);
    14971499                ipc_answer_0(callid, retval);
    14981500                return retval;
Note: See TracChangeset for help on using the changeset viewer.