diff options
author | Jarod Wilson <jarod@redhat.com> | 2010-07-27 21:29:44 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-08 22:42:57 -0400 |
commit | da48db669f50d47c208da3648dca7cac7ea6dcca (patch) | |
tree | deb72b0945886a9446eda7cb81052fbd3c570e7c /drivers/media/video/v4l2-common.c | |
parent | 20cd19597238723237d214dbab18c0b7c68c5814 (diff) |
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/media/video/v4l2-common.c')
0 files changed, 0 insertions, 0 deletions