From: Stefan Hajnoczi Date: Sat, 10 Dec 2011 01:12:27 +0000 (+0100) Subject: staging: line6: fix memory leak in .hw_params() X-Git-Tag: v3.3-rc1~152^2~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60c01a977814788178362ff0e1a22dfbf106eede;p=pandora-kernel.git staging: line6: fix memory leak in .hw_params() The .hw_params() pcm callback can be invoked multiple times in a row. Ensure that the URB data buffer is only allocated once. Signed-off-by: Stefan Hajnoczi Signed-off-by: Markus Grabner Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed