Return to dev.c CVS log | Up to [local] / src / usr.bin / sndiod |
version 1.67, 2020/04/15 14:21:35 | version 1.68, 2020/04/15 14:22:29 | ||
---|---|---|---|
|
|
||
} | } | ||
#endif | #endif | ||
c->refs_mask &= ~CTL_DEVMASK; | c->refs_mask &= ~CTL_DEVMASK; | ||
if (c->refs_mask != 0) | if (c->refs_mask == 0) { | ||
*pc = c->next; | |||
xfree(c); | |||
return; | return; | ||
*pc = c->next; | } | ||
xfree(c); | c->desc_mask = ~0; | ||
} | } | ||
void | void |