Changeset 669e9b5 in mainline


Ignore:
Timestamp:
2016-03-16T10:47:32Z (9 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d9ffc54
Parents:
479cc46
Message:

Do not leak device name in delete_device().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    r479cc46 r669e9b5  
    499499        if (dev->driver_data != NULL)
    500500                free(dev->driver_data);
     501        if (dev->name)
     502                free(dev->name);
    501503        free(dev);
    502504}
Note: See TracChangeset for help on using the changeset viewer.