diff options
-rw-r--r-- | ponymix.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -643,7 +643,7 @@ static void pulse_deinit(struct pulseaudio_t *pulse) pa_context_disconnect(pulse->cxt); pa_mainloop_free(pulse->mainloop); - while (node) { + while (node && pulse->head) { node = pulse->head->next; free(pulse->head->name); free(pulse->head->desc); |