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

Changeset 669e9b5 in mainline


Ignore:
Timestamp:
2016-03-16T10:47:32Z (5 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
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.