summaryrefslogtreecommitdiff
path: root/include/acpi/actbl.h
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@gmail.com>2016-02-13 11:08:06 +0300
committerBen Hutchings <ben@decadent.org.uk>2016-02-27 14:28:48 +0000
commit78a6b3f7be7ae07c7e60f638c77c87701a703559 (patch)
tree1d934a83e0d406a4b8d2432ba03fa417ea156829 /include/acpi/actbl.h
parent57ce57616accf5c20822be601a0ddfef08af000b (diff)
downloadlwn-78a6b3f7be7ae07c7e60f638c77c87701a703559.tar.gz
lwn-78a6b3f7be7ae07c7e60f638c77c87701a703559.zip
ALSA: usb-audio: avoid freeing umidi object twice
commit 07d86ca93db7e5cdf4743564d98292042ec21af7 upstream. The 'umidi' object will be free'd on the error path by snd_usbmidi_free() when tearing down the rawmidi interface. So we shouldn't try to free it in snd_usbmidi_create() after having registered the rawmidi interface. Found by KASAN. Signed-off-by: Andrey Konovalov <andreyknvl@gmail.com> Acked-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/acpi/actbl.h')
0 files changed, 0 insertions, 0 deletions