Commit 270d1b8a authored by Alexandre Julliard's avatar Alexandre Julliard

Avoid crash if snd_pcm_open fails.

parent bbc25aaa
......@@ -400,7 +400,7 @@ else \
*/
LONG ALSA_WaveInit(void)
{
snd_pcm_t* h;
snd_pcm_t* h = NULL;
snd_pcm_info_t * info;
snd_pcm_hw_params_t * hw_params;
WINE_WAVEOUT* wwo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment