summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-12-04 08:17:40 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-12-04 08:17:40 +0000
commitcf17c928ebba7f2d9cbe85ae777397c2a4ed7c82 (patch)
tree8b9c92bd9daa42c0495033e0d6372c3e4d59735c /share
parentb1beaf3d04843307cc40f879927eaf88eab8d79c (diff)
In uaudio_detach(), check that sc->sc_alts is not NULL before
using it. This could happen if uaudio_attach() failed, for instance because the device has no valid audio stream interface. Certain MIDI devices expose such descriptors. ok jakemsr@
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions