Changeset 0cda600 in mainline


Ignore:
Timestamp:
2011-11-07T09:58:02Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4578a6e
Parents:
5f047d0
Message:

libusbhid: Make usb_hid_report_path_free NULL safe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhid/src/hidpath.c

    r5f047d0 r0cda600  
    385385void usb_hid_report_path_free(usb_hid_report_path_t *path)
    386386{
     387        if (path == NULL)
     388                return;
    387389        while(!list_empty(&path->items)){
    388390                usb_hid_report_remove_last_item(path);
Note: See TracChangeset for help on using the changeset viewer.