Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset ab9f443 in mainline


Ignore:
Timestamp:
2012-04-13T20:40:19Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
22a8a9b
Parents:
47c9a8c
Message:

Use async_forget() in two error paths when waiting for the answer can
happen asynchronously.

File:
1 edited

Legend:

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

    r47c9a8c rab9f443  
    23102310            IPC_FF_ROUTE_FROM_ME);
    23112311        if (retval != EOK) {
    2312                 async_wait_for(msg, NULL);
     2312                async_forget(msg);
    23132313                ipc_answer_0(callid, retval);
    23142314                return retval;
     
    25042504            IPC_FF_ROUTE_FROM_ME);
    25052505        if (retval != EOK) {
    2506                 async_wait_for(msg, NULL);
     2506                async_forget(msg);
    25072507                ipc_answer_0(callid, retval);
    25082508                return retval;
Note: See TracChangeset for help on using the changeset viewer.