In case chn_init() fails, we are leaking memory by not freeing the
feeder.
Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Differential D45979 Authored by christos on Jul 15 2024, 3:58 PM.
Details Summary In case chn_init() fails, we are leaking memory by not freeing the Sponsored by: The FreeBSD Foundation
Diff Detail
Event TimelineHerald added a subscriber: imp. · View Herald TranscriptJul 15 2024, 3:58 PM2024-07-15 15:58:18 (UTC+0) Harbormaster completed remote builds in B58651: Diff 140973.Jul 15 2024, 3:58 PM2024-07-15 15:58:18 (UTC+0) christos added a child revision: D45985: sound: Simplify chn_init().Jul 17 2024, 1:13 AM2024-07-17 01:13:46 (UTC+0) This revision is now accepted and ready to land.Jul 19 2024, 12:01 AM2024-07-19 00:01:19 (UTC+0)
Closed by commit rG16329b7b3276: sound: Fix memory leak in chn_init() (authored by christos). · Explain WhyJul 27 2024, 11:58 AM2024-07-27 11:58:05 (UTC+0) This revision was automatically updated to reflect the committed changes. christos marked an inline comment as done.
Revision Contents
Diff 141462 sys/dev/sound/pcm/channel.c
|