diff options
author | Chris Robinson <[email protected]> | 2008-01-11 13:23:37 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-01-11 13:23:37 -0800 |
commit | f8089d20262681542dd214da130f4462d6a9eb8b (patch) | |
tree | 4f7fe72f3ccedf4b2e603b2b832ba7bd433de48e /Alc | |
parent | 40241b4e970c451f37f805c0611e7b9d62b6ba30 (diff) |
Don't double-close a handle on error
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/alsa.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -899,7 +899,6 @@ next_card: } if (err >= 0 && (err = psnd_ctl_card_info(handle, info)) < 0) { AL_PRINT("control hardware info (%i): %s\n", card, psnd_strerror(err)); - psnd_ctl_close(handle); } else if (err >= 0 && card < MAX_DEVICES-1) { |