From: Jarod Wilson Date: Tue, 24 May 2011 19:44:54 +0000 (-0300) Subject: [media] mceusb: plug memory leak on data transmit X-Git-Tag: v3.0-rc7~46^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b43fcdff6495958c39e3575848edef4b685ddef;p=pandora-kernel.git [media] mceusb: plug memory leak on data transmit Hans Petter Selasky pointed out to me that we're leaking urbs when mce_async_out is called. Its used both for configuring the hardware and for transmitting IR data. In the tx case, mce_request_packet actually allocates both a urb and the transfer buffer, neither of which was being torn down. Do that in the tx callback. CC: Hans Petter Selasky Signed-off-by: Jarod Wilson Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed