set pcm_handle to NULL on close

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1324 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Michael Gernoth 2006-11-03 18:11:47 +00:00
parent 157b97643b
commit 27c2d61872

View File

@ -69,6 +69,7 @@ alsa_close(void)
{
snd_pcm_drop(pcm_handle);
snd_pcm_close(pcm_handle);
pcm_handle = NULL;
}
}