| commit | da29b6547f43863b8090ee96a4bb0d57687151c5 | [log] [tgz] |
|---|---|---|
| author | Francois Gouget <fgouget@codeweavers.com> | Mon Apr 26 23:31:11 2004 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Mon Apr 26 23:31:11 2004 +0000 |
| tree | b048893b4e160dd8a4f17e28e46c6d7d3a96914d | |
| parent | d6c537b43c10eba6a141252acb42cab52b9121f3 [diff] |
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.