diff options
author | Andrey Konovalov <andreyknvl@gmail.com> | 2016-02-13 11:08:06 +0300 |
---|---|---|
committer | Simon Shields <keepcalm444@gmail.com> | 2016-05-03 22:45:20 +1000 |
commit | 33d997e867fb6b5f27bbab34daa2759d9e560201 (patch) | |
tree | 8d7bac00ee37248bff38e6ba8513351b90e8396b /net/mac80211/aes_cmac.c | |
parent | 52e6d89350a3723bd516046303d101aebc36c798 (diff) | |
download | kernel_samsung_smdk4412-33d997e867fb6b5f27bbab34daa2759d9e560201.zip kernel_samsung_smdk4412-33d997e867fb6b5f27bbab34daa2759d9e560201.tar.gz kernel_samsung_smdk4412-33d997e867fb6b5f27bbab34daa2759d9e560201.tar.bz2 |
ALSA: usb-audio: avoid freeing umidi object twice
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.
Change-Id: I628889be11651c1e6b90d5c61d041328124deae3
Signed-off-by: Andrey Konovalov <andreyknvl@gmail.com>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'net/mac80211/aes_cmac.c')
0 files changed, 0 insertions, 0 deletions