Changeset ce08421 in mainline


Ignore:
Timestamp:
2019-08-07T09:57:45Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
68ae40a
Parents:
fcc4f86
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-11-05 01:51:10)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 09:57:45)
Message:

taskman: Fix async request leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/taskman/event.c

    rfcc4f86 rce08421  
    9494                assert(t->sess);
    9595                async_exch_t *exch = async_exchange_begin(t->sess);
    96                 /* Just send a notification and don't wait for anything */
    97                 async_send_5(exch, TASKMAN_EV_TASK,
     96                aid_t req = async_send_5(exch, TASKMAN_EV_TASK,
    9897                    LOWER32(sender->id),
    9998                    UPPER32(sender->id),
     
    104103
    105104                async_exchange_end(exch);
     105
     106                /* Just send a notification and don't wait for anything */
     107                async_forget(req);
    106108        }
    107109        fibril_rwlock_read_unlock(&listeners_lock);
Note: See TracChangeset for help on using the changeset viewer.