[PATCH] ALSA: control led: fix memory leak in snd_ctl_led_register

Dan Carpenter dan.carpenter at oracle.com
Mon May 31 11:38:17 CEST 2021


On Mon, May 31, 2021 at 05:10:49PM +0800, Dongliang Mu wrote:
> Hi Dan,
> 
> I wonder if we shall split the current patch into two patches, one
> patch for each memory leak. It is better to satisfy the rule - "one
> patch only fixes one issue".
> 
> We should absolutely fix all these memory leaks. But one patch for two
> different bugs with different objects and different paths is not very
> suitable.
> 

I would just send one patch, because I only see it as one bug.  But you
do what you think is best.

regards,
dan carpenter




More information about the Alsa-devel mailing list