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

Changeset 8bab0d2 in mainline


Ignore:
Timestamp:
2018-01-10T13:48:32Z (4 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master
Children:
806a779
Parents:
398a94c
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-10 13:48:30)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-10 13:48:32)
Message:

usbdev: fixed rookie mistake

How could that ever worked?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/devpoll.c

    r398a94c r8bab0d2  
    228228
    229229        /* Fill-in the data. */
    230         polling_data->buffer = malloc(sizeof(request_size));
     230        polling_data->buffer = malloc(request_size);
    231231        if (polling_data->buffer == NULL) {
    232232                free(polling_data);
Note: See TracChangeset for help on using the changeset viewer.