Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/drv_conn.c

    rf89204ee rbeb83c1  
    284284
    285285        fun_node_t *fun = create_fun_node();
    286         /*
    287          * Hold a temporary reference while we work with fun. The reference from
    288          * create_fun_node() moves to the device tree.
    289          */
     286        /* One reference for creation, one for us */
     287        fun_add_ref(fun);
    290288        fun_add_ref(fun);
    291289        fun->ftype = ftype;
     
    302300                fun_busy_unlock(fun);
    303301                fun_del_ref(fun);
    304                 fun_del_ref(fun);       /* fun is destroyed */
     302                delete_fun_node(fun);
    305303                async_answer_0(call, ENOMEM);
    306304                return;
Note: See TracChangeset for help on using the changeset viewer.