Changeset 3083c74 in mainline


Ignore:
Timestamp:
2018-11-27T16:49:07Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b10e9367
Parents:
f89204ee
git-author:
Jakub Jermar <jakub@…> (2018-11-25 17:40:59)
git-committer:
Jakub Jermar <jakub@…> (2018-11-27 16:49:07)
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.