mirror of https://github.com/ericonr/sndio.git
check for orphaned -q def
This commit is contained in:
parent
1fd5b878fb
commit
6313d1e2bc
|
@ -669,7 +669,7 @@ aucat_main(int argc, char **argv)
|
|||
if (!SLIST_EMPTY(&cd->opts) ||
|
||||
!SLIST_EMPTY(&cd->ins) ||
|
||||
!SLIST_EMPTY(&cd->outs) ||
|
||||
!SLIST_EMPTY(&cd->outs))
|
||||
!SLIST_EMPTY(&cd->mids))
|
||||
errx(1, "no device to attach last stream to");
|
||||
free(cs);
|
||||
free(cd);
|
||||
|
|
Loading…
Reference in New Issue