Make sure the 'alsa handle' is initialized to NULL before calling
commitda29b6547f43863b8090ee96a4bb0d57687151c5
authorFrancois Gouget <fgouget@codeweavers.com>
Mon, 26 Apr 2004 23:31:11 +0000 (26 23:31 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 26 Apr 2004 23:31:11 +0000 (26 23:31 +0000)
treeb048893b4e160dd8a4f17e28e46c6d7d3a96914d
parentd6c537b43c10eba6a141252acb42cab52b9121f3
Make sure the 'alsa handle' is initialized to NULL before calling
snd_pcm_open(). Otherwise if it fails we get a crash trying to close
an invalid alsa handle.
dlls/winmm/winealsa/audio.c