Skip to content
Commit 52c3e317 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: usb-audio: Unify the release of usb_mixer_elem_info objects



Instead of the direct kfree() calls, introduce a new local helper to
release the usb_mixer_elem_info object.  This will be extended to do
more than a single kfree() in the later patches.

Also, use the standard goto instead of multiple calls in
parse_audio_selector_unit() error paths.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 68e9fde2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment