Re: [PATCH] ALSA: synth: Save a few bytes of memory when registering a 'snd_emux'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, 20 Jan 2024 10:42:12 +0100,
Christophe JAILLET wrote:
> 
> snd_emux_register() calls pass a string literal as the 'name' parameter.
> 
> So kstrdup_const() can be used instead of kfree() to avoid a memory
> allocation in such cases.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Thanks, applied now.


Takashi




[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux