mirror of https://github.com/ericonr/sndio.git
Don't call dev_siomix_close() twice.
This commit is contained in:
parent
e2e5298b26
commit
ac4e742089
|
@ -1203,7 +1203,6 @@ dev_close_do(struct dev *d)
|
|||
xfree(c);
|
||||
}
|
||||
d->pstate = DEV_CFG;
|
||||
dev_siomix_close(d);
|
||||
dev_sio_close(d);
|
||||
if (d->mode & MODE_PLAY) {
|
||||
if (d->encbuf != NULL)
|
||||
|
|
Loading…
Reference in New Issue