aboutsummaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorGravatar Takashi Iwai <tiwai@suse.de> 2018-01-05 16:09:47 +0100
committerGravatar Takashi Iwai <tiwai@suse.de> 2018-01-05 16:22:20 +0100
commit9685347aa0a5c2869058ca6ab79fd8e93084a67f (patch)
tree652ff2b454109ec274639e6ec05825c8601604b7 /Kconfig
parentALSA: pcm: Workaround for weird PulseAudio behavior on rewind error (diff)
downloadlinux-9685347aa0a5c2869058ca6ab79fd8e93084a67f.tar.gz
linux-9685347aa0a5c2869058ca6ab79fd8e93084a67f.tar.bz2
linux-9685347aa0a5c2869058ca6ab79fd8e93084a67f.zip
ALSA: aloop: Release cable upon open error path
The aloop runtime object and its assignment in the cable are left even when opening a substream fails. This doesn't mean any memory leak, but it still keeps the invalid pointer that may be referred by the another side of the cable spontaneously, which is a potential Oops cause. Clean up the cable assignment and the empty cable upon the error path properly. Fixes: 597603d615d2 ("ALSA: introduce the snd-aloop module for the PCM loopback") Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions