diff options
| author | Frank Schaefer <[email protected]> | 2012-12-22 10:13:38 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2012-12-22 16:14:37 -0200 |
| commit | 2f5741aa6a71aea6bc8f186e8753f270ae8742f1 (patch) | |
| tree | da9668f3a6886514347ad8c907c477ce4c9b3a5e /tools/perf/scripts/python/bin | |
| parent | 0dae88392395e228e67436cd08f084d395b39df5 (diff) | |
[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 <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions