Changeset f6ce093 in mainline for uspace/srv/devman/driver.c

Timestamp:
2018-11-25T17:40:59Z (5 years 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.

(No files)

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