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:
parent
157b97643b
commit
27c2d61872
@ -69,6 +69,7 @@ alsa_close(void)
|
||||
{
|
||||
snd_pcm_drop(pcm_handle);
|
||||
snd_pcm_close(pcm_handle);
|
||||
pcm_handle = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user