From: Clemens Ladisch Date: Fri, 18 May 2012 16:00:43 +0000 (+0200) Subject: ALSA: usb-audio: fix rate_list memory leak X-Git-Tag: v3.2.20~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f139d067883637c9ab0091fbca821d01d0890123;p=pandora-kernel.git ALSA: usb-audio: fix rate_list memory leak commit 5cd5d7c44990658df6ab49f6253c39617c53b03d upstream. 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" Signed-off-by: Clemens Ladisch Signed-off-by: Takashi Iwai Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed