• Nix's avatar
    Output: start with a null mixer. · 811af02f
    Nix authored
    There are code paths (mostly error cases) in which it is possible to
    initialize an AudioOutput and then kill it without ever calling
    audio_output_new().  In such a case, its destructor will attempt to
    free a mixer that was never initialized, leading to an attempt to
    take out a lock on a mutex that was similarly never initialized,
    which hangs forever.
    
    Fix by always initializing the mixer appropriately.
    811af02f
Name
Last commit
Last update
android Loading commit data...
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
systemd Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mpd.svg Loading commit data...
valgrind.suppressions Loading commit data...