From 82af1612100284adbb3d06a879b4eaa5507604ab Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 29 Oct 2009 15:58:18 +0100 Subject: [PATCH] output/pulse: initialize pulse_output.mixer This variable was uninitialized and led to crashes. --- src/output/pulse_output_plugin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/output/pulse_output_plugin.c b/src/output/pulse_output_plugin.c index 49f38369a..13e1b6624 100644 --- a/src/output/pulse_output_plugin.c +++ b/src/output/pulse_output_plugin.c @@ -274,6 +274,7 @@ pulse_output_init(G_GNUC_UNUSED const struct audio_format *audio_format, po->server = config_get_block_string(param, "server", NULL); po->sink = config_get_block_string(param, "sink", NULL); + po->mixer = NULL; po->mainloop = NULL; po->context = NULL; po->stream = NULL;