diff options
author | Jarod Wilson <jarod@redhat.com> | 2011-05-24 19:44:54 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-06-11 12:04:04 (GMT) |
commit | 0b43fcdff6495958c39e3575848edef4b685ddef (patch) | |
tree | 1a10373052489e4e6eff3ef25d960909faa4ef9e /kernel/tracepoint.c | |
parent | 589e116062d8b5fd1809dfff4c9b7694ce6c2318 (diff) | |
download | linux-0b43fcdff6495958c39e3575848edef4b685ddef.tar.xz |
[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 <hselasky@c2i.net>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'kernel/tracepoint.c')
0 files changed, 0 insertions, 0 deletions