diff options
author | Jarod Wilson <jarod@redhat.com> | 2010-07-27 22:29:44 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-08 23:42:57 -0300 |
commit | da48db669f50d47c208da3648dca7cac7ea6dcca (patch) | |
tree | deb72b0945886a9446eda7cb81052fbd3c570e7c /drivers/staging | |
parent | 20cd19597238723237d214dbab18c0b7c68c5814 (diff) | |
download | op-kernel-dev-da48db669f50d47c208da3648dca7cac7ea6dcca.zip op-kernel-dev-da48db669f50d47c208da3648dca7cac7ea6dcca.tar.gz |
V4L/DVB: IR/imon: remove bad ir_input_dev use
The ir_input_dev gets filled in by __ir_input_register, the one
allocated in imon_init_idev was being overwritten by the correct one
shortly after it was initialized (ultimately resulting in a memory
leak). Additionally, there was an ill-advised memcpy into that
extraneous ir_input_dev which gets fixed by this.
Ill-advised memcpy pointed out by Dmitry Torokhov, bad usage of
ir_input_dev pointed out by Maxim Levitsky.
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions