Re: [PATCH v1 7/8] ALSA: hda/tas2781: Add tas2781 SPI-based driver

From: Andy Shevchenko
Date: Tue Mar 26 2024 - 11:17:20 EST


On Tue, Mar 26, 2024 at 10:13:06AM -0500, Pierre-Louis Bossart wrote:


..

> memory leaks for each of those goto out;
>
> You need to use different labels and free-up what was allocated before.

Good point, but better to just use cleanup.h from day 1, it makes this code
shrink even more.

..

> I'll stop the review here.

He-he :-)

--
With Best Regards,
Andy Shevchenko