diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2012-05-18 18:00:43 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-05-31 10:25:44 +0200 |
commit | 5cd5d7c44990658df6ab49f6253c39617c53b03d (patch) | |
tree | 88c36facfd9b20e8afbbe087abea5bde2e65e61e /sound/arm | |
parent | adcc70b249ca77c1197eb62b1645146721ba6e5b (diff) | |
download | linux-5cd5d7c44990658df6ab49f6253c39617c53b03d.tar.gz linux-5cd5d7c44990658df6ab49f6253c39617c53b03d.tar.bz2 linux-5cd5d7c44990658df6ab49f6253c39617c53b03d.zip |
ALSA: usb-audio: fix rate_list memory leak
The array of sample rates is reallocated every time when opening
the PCM device, but was freed only once when unplugging the device.
Reported-by: "Alexander E. Patrakov" <patrakov@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/arm')
0 files changed, 0 insertions, 0 deletions