[alsa-devel] ALSA: pci: Fix memory leak in snd_korg1212_create

Markus Elfring Markus.Elfring at web.de
Mon Oct 28 09:19:23 CET 2019


> I suggest to add a jump target according to the Linux coding style
> so that duplicate exception handling code can be reduced.

Do you find any information interesting from the update suggestion
“ALSA: korg1212: Use common error handling code in two functions”?
https://lore.kernel.org/alsa-devel/2165666c-69f9-c716-8ee8-f5071a41f37d@users.sourceforge.net/
https://lore.kernel.org/patchwork/patch/851723/
https://lkml.org/lkml/2017/11/16/193

Regards,
Markus


More information about the Alsa-devel mailing list