Skip to content

Fix leaks on multiple plugins

Andre Guedes alsa-devel 1 version Applied

Status from this message: Applied all four patches now. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4a52: Fix leaks when a52_set_hw_constraint() failsa52/pcm_a52.c+1 -10 replies
2/4jack: Fix leaks when jack_set_hw_constraint() failsjack/pcm_jack.c+1 -00 replies
3/4oss: Fix leaks when oss_hw_constraint() failsoss/pcm_oss.c+1 -10 replies
4/4usb_stream: Fix leaks when us_set_hw_constraint() failsusb_stream/pcm_usb_stream.c+1 -00 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTakashi Sakamoto
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH - Multiple plugins 0/4] Fix leaks on multiple plugins

Hi all,

While I was working on AAF plugin RFC v2 series [1], I spotted several leaks in some plugins when handling *_hw_constraint() error cases. This series fixes these issues.

Regards,

Andre

[1] http://mailman.alsa-project.org/pipermail/alsa-devel/2018-September/140290.html

Andre Guedes (4):
a52: Fix leaks when a52_set_hw_constraint() fails
jack: Fix leaks when jack_set_hw_constraint() fails
oss: Fix leaks when oss_hw_constraint() fails
usb_stream: Fix leaks when us_set_hw_constraint() fails

 a52/pcm_a52.c               | 2 +-
 jack/pcm_jack.c             | 1 +
 oss/pcm_oss.c               | 2 +-
 usb_stream/pcm_usb_stream.c | 1 +
 4 files changed, 4 insertions(+), 2 deletions(-)
Signature · 1 line
2.14.4