ALSA: seq: ump: Use automatic cleanup of kfree()
authorTakashi Iwai <tiwai@suse.de>
Thu, 22 Feb 2024 11:15:08 +0000 (12:15 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 23 Feb 2024 09:57:31 +0000 (10:57 +0100)
commit316e38ef776663a7a4c5d76438c42c948c574df4
tree96e7aac25d8e44502a32076d624fcc035cd59e8a
parent5d04ad53e54c1513a90f44367d5712e984ba579b
ALSA: seq: 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/20240222111509.28390-9-tiwai@suse.de
sound/core/seq/seq_ump_client.c