commit | 5cd5d7c44990658df6ab49f6253c39617c53b03d | [log] [tgz] |
---|---|---|
author | Clemens Ladisch <clemens@ladisch.de> | Fri May 18 18:00:43 2012 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Thu May 31 10:25:44 2012 +0200 |
tree | 88c36facfd9b20e8afbbe087abea5bde2e65e61e | |
parent | adcc70b249ca77c1197eb62b1645146721ba6e5b [diff] |
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>