]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/common: Use auto cleanup for temporary buffers
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Aug 2025 07:28:59 +0000 (09:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 09:52:15 +0000 (11:52 +0200)
commitb0550d4c2dd8353f59e06139b8f3045782ce115d
tree8c18feb0f793f2b25d7d87981ee3c206fbef15c0
parent59195f13ee61566091989d9d048b2768671c7b27
ALSA: hda/common: Use auto cleanup for temporary buffers

The release of temporary kmalloced buffers can be nicely handled via
the standard __free(kfree).

Only code refactoring, and no behavior change.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250827072916.31933-20-tiwai@suse.de
sound/hda/common/codec.c
sound/hda/common/sysfs.c