Skip to content
Snippets Groups Projects
Commit 270d1b8a authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

Avoid crash if snd_pcm_open fails.

parent bbc25aaa
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment