loopback: Fix segfault in may_move_to() callbacks
authorTanu Kaskinen <tanuk@iki.fi>
Thu, 14 Mar 2013 20:07:12 +0000 (22:07 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Fri, 22 Mar 2013 18:44:52 +0000 (20:44 +0200)
commitf8b57af2c890f3cb98ee07ed7c0192e75146cbf1
treea48205346f5070dd0f5f7e4a3870fd604d63d3b4
parent2135b2b34fb5ad2627ed2b01e5ecb5ed1240f32a
loopback: Fix segfault in may_move_to() callbacks

The sink input may_move_to() callbacks can be called while the source
output is not connected to any source (i.e. is currently moving too),
and vice versa.

Thanks to Frédéric Dalleau for reporting this bug.
src/modules/module-loopback.c