Changeset e6fc486 in mainline for uspace/lib/c

Timestamp:
2018-11-22T16:55:28Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Parents:
21d3201
Message:

Fix devman function reference counting

After commit 498ced18a4, create_fun_node() returns a fun pointer with an
implicit reference. Adding an extra reference for creation thus adds a
reference that will never be dropped and the function object will be
leaked.

This commit fixes the reference counting issue and also adds the missing
check to the call to insert_fun_node().

(No files)

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