Changeset c898236 in mainline


Ignore:
Timestamp:
2013-09-21T03:23:51Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8d40181
Parents:
57c8fc9
Message:

libusbhost: clean hw_res if resource retrieval fails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/ddf_helpers.c

    r57c8fc9 rc898236  
    672672        const int ret = hw_res_get_list_parsed(parent_sess, hw_res, 0);
    673673        async_hangup(parent_sess);
     674        if (ret != EOK)
     675                hw_res_list_parsed_clean(hw_res);
    674676        return ret;
    675677}
Note: See TracChangeset for help on using the changeset viewer.