[pulseaudio-discuss] [PATCH] loopback: Fix crash when moving sink-input fails
Frédéric Dalleau
frederic.dalleau at linux.intel.com
Mon Feb 6 09:15:36 PST 2012
---
A similar recent patch has been integrated on the source-output part.
This is like the tree hiding the forest, expect more fixes ;)
src/modules/module-loopback.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/modules/module-loopback.c b/src/modules/module-loopback.c
index 1f2ef91..74231a3 100644
--- a/src/modules/module-loopback.c
+++ b/src/modules/module-loopback.c
@@ -601,6 +601,8 @@ static void sink_input_moving_cb(pa_sink_input *i, pa_sink *dest) {
struct userdata *u;
pa_proplist *p;
const char *n;
+ if (!dest)
+ return;
pa_sink_input_assert_ref(i);
pa_assert_ctl_context();
--
1.7.5.4
More information about the pulseaudio-discuss
mailing list