Fix OOPS caused by reference of config pointer
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 13 Dec 2011 21:37:51 +0000 (16:37 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 13 Dec 2011 21:37:51 +0000 (16:37 -0500)
The config pointer points to data that may vanish across the life-time
of the ring buffer stream references. It's only kept valid for the
duration between the channel create and destroy, but the streams can
keep an extra reference on the channel, and thus need the config to stay
valid.

Perform a copy of the config rather than keeping a pointer to it.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.025461 seconds and 4 git commands to generate.