changeset 2031 | 7a025a9e192d |
parent 2030 | 2bd8ad8bf41f |
child 2032 | 57c618557912 |
--- a/master/master.c Wed Jan 05 11:33:31 2011 +0100 +++ b/master/master.c Wed Jan 05 12:26:33 2011 +0100 @@ -408,6 +408,7 @@ EC_MASTER_WARN(master, "Discarding register request, slave %u" " about to be deleted.\n", request->slave->ring_position); request->state = EC_INT_REQUEST_FAILURE; + kref_put(&request->refcount,ec_master_reg_request_release); wake_up(&master->reg_queue); }