CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/05/20 07:26:02

Modified files:
        usr.bin/sndiod : midi.c midi.h sock.c sock.h 

Log message:
sndiod: Save a pointer to the struct opt associated to the midi endpoint

As the socket code holds a reference to the struct opt, it's simpler
to just save it and release it when the socket is closed. This avoids
iterating over the full set of midi endpoint structures.

No behavior change

Reply via email to