ALSA: pcm_oss: ump: Use automatic cleanup of kfree()
authorTakashi Iwai <tiwai@suse.de>
Fri, 23 Feb 2024 08:42:41 +0000 (09:42 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 23 Feb 2024 09:57:49 +0000 (10:57 +0100)
commita55bc334d3dfbfdc075632a144e821a564da38d5
tree0d104cc9a971e5fbe9f38f798140dee10297cfc8
parent6c40eec521af8cea034777f877ead19bfa7309f4
ALSA: pcm_oss: ump: Use automatic cleanup of kfree()

There are common patterns where a temporary buffer is allocated and
freed at the exit, and those can be simplified with the recent cleanup
mechanism via __free(kfree).

No functional changes, only code refactoring.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20240223084241.3361-5-tiwai@suse.de
sound/core/oss/pcm_oss.c