Don't call dev_siomix_close() twice.

This commit is contained in:
Alexandre Ratchov 2019-08-30 10:12:55 +02:00
parent e2e5298b26
commit ac4e742089
1 changed files with 0 additions and 1 deletions

View File

@ -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)