aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output/pulse_plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/output/pulse_plugin.c b/src/output/pulse_plugin.c
index 64b5c22d2..2104fe81e 100644
--- a/src/output/pulse_plugin.c
+++ b/src/output/pulse_plugin.c
@@ -175,6 +175,7 @@ static void pulse_close(void *data)
if (pd->s) {
pa_simple_drain(pd->s, NULL);
pa_simple_free(pd->s);
+ pd->s = NULL;
}
}