Changeset b10e9367 in mainline for uspace/srv/devman/devtree.c

Timestamp:
2018-11-27T16:50:01Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9df0f64
Parents:
3083c74
git-author:
Jakub Jermar <jakub@…> (2018-11-22 19:17:13)
git-committer:
Jakub Jermar <jakub@…> (2018-11-27 16:50:01)
Message:

Fix device reference counting

After commit 498ced1, a device is created with an implicit reference.
Adding an extra reference for creation thus adds a reference that will
never be dropped and the device will be leaked.

This commit removes the extra reference.

(No files)

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