Page MenuHomeFreeBSD

sound: Do not free snd_midi->{in,out}q unconditionally in midi_uninit()
AbandonedPublic

Authored by christos on Mon, Dec 8, 5:53 PM.

Details

Reviewers
markj
emaste
Summary

Include the same check as in midi_init(). There is a possibility that
one of those can be NULL.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69134
Build 66017: arc lint + arc unit