summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFrank Schaefer <fschaefer.oss@googlemail.com>2012-12-22 17:13:38 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-12-22 22:14:37 +0400
commit2f5741aa6a71aea6bc8f186e8753f270ae8742f1 (patch)
treeda9668f3a6886514347ad8c907c477ce4c9b3a5e /tools/perf/scripts/python
parent0dae88392395e228e67436cd08f084d395b39df5 (diff)
downloadlinux-2f5741aa6a71aea6bc8f186e8753f270ae8742f1.tar.xz
[media] em28xx: input: fix oops on device removal
When em28xx_ir_init() fails due to an configuration error, it frees the memory of struct em28xx_IR *ir, but doesn't set the corresponding pointer in the device struct to NULL. On device removal, em28xx_ir_fini() gets called, which then calls rc_unregister_device() with a pointer to freed memory. Fixes bug 26572 (http://bugzilla.kernel.org/show_bug.cgi?id=26572) Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions