diff options
| author | Takashi Iwai <tiwai@suse.de> | 2018-01-05 16:09:47 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-17 09:35:26 +0100 |
| commit | 3d3b2c61e1bea49bdbf42169e9f28ca889f4d707 (patch) | |
| tree | a3ae81ca39a50dc133a7829f98acaeedfc1dbfcf /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | fa6c1876ecf724f4bb77842770941db41d35c3f9 (diff) | |
ALSA: aloop: Release cable upon open error path
commit 9685347aa0a5c2869058ca6ab79fd8e93084a67f upstream.
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")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
