V4L/DVB: IR: ir-raw-event: null pointer dereference
authorDan Carpenter <error27@gmail.com>
Thu, 12 Aug 2010 07:47:07 +0000 (04:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 28 Sep 2010 01:21:46 +0000 (22:21 -0300)
commit028816bc85db5ac6a562c2aff2113c7480d67919
treeb3c2bde2704014eb2bb5c13ceb6aaa70dca21d0b
parent590a58d18027b18db78f538aca592c2cdb249079
V4L/DVB: IR: ir-raw-event: null pointer dereference

The original code dereferenced ir->raw after freeing it and setting it
to NULL.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/ir-raw-event.c