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

Changeset 6427f083 in mainline


Ignore:
Timestamp:
2019-11-10T16:51:15Z (16 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
da412547
Parents:
dcac756
Message:

Do not forget to end exchange in failure case of display_get_event()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/display/src/display.c

    rdcac756 r6427f083  
    245245        req = async_send_0(exch, DISPLAY_GET_EVENT, &answer);
    246246        rc = async_data_read_start(exch, event, sizeof(*event));
     247        async_exchange_end(exch);
    247248        if (rc != EOK) {
    248249                async_forget(req);
    249250                return rc;
    250251        }
    251 
    252         async_exchange_end(exch);
    253252
    254253        async_wait_for(req, &rc);
Note: See TracChangeset for help on using the changeset viewer.