Changes in uspace/srv/devman/devtree.c [3083c74:09ab0a9a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devtree.c
r3083c74 r09ab0a9a 144 144 } 145 145 146 if (!insert_fun_node(tree, fun, str_dup(""), NULL)) { 147 fun_del_ref(fun); /* fun is destroyed */ 148 fibril_rwlock_write_unlock(&tree->rwlock); 149 return false; 150 } 146 fun_add_ref(fun); 147 insert_fun_node(tree, fun, str_dup(""), NULL); 151 148 152 149 match_id_t *id = create_match_id(); … … 165 162 } 166 163 164 dev_add_ref(dev); 167 165 insert_dev_node(tree, dev, fun); 168 166
Note:
See TracChangeset
for help on using the changeset viewer.