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

Changeset f6ce093 in mainline


Ignore:
Timestamp:
2018-11-25T17:40:59Z (20 months ago)
Author:
Jakub Jermar <jakub@…>
Parents:
5aa06ad
Message:

Fix devman device reference counting

After commit 498ced1, create_dev_node() returns a dev pointer with an
implicit reference. Adding an extra reference for creation thus adds a
reference that will never be dropped and the device object will be
leaked.

This commit removes the extra reference.

Location:
uspace/srv/devman
Files:
2 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.