Project

General

Profile

Bug #530 » bug530.patch

David Goulet, 05/15/2013 01:17 PM

View differences:

src/common/consumer.c
uatomic_inc(&relayd->refcount);
}
/* Update channel refcount once added without error(s). */
uatomic_inc(&stream->chan->refcount);
/*
* When nb_init_stream_left reaches 0, we don't need to trigger any action
* in terms of destroying the associated channel, because the action that
src/common/ust-consumer/ust-consumer.c
stream->wait_fd = wait_fd;
/*
* Increment channel refcount since the channel reference has now been
* assigned in the allocation process above.
*/
uatomic_inc(&stream->chan->refcount);
/*
* Order is important this is why a list is used. On error, the caller
* should clean this list.
*/
(3-3/4)