diff options
author | Brad Love <[email protected]> | 2018-01-05 09:57:13 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2018-03-06 04:40:02 -0500 |
commit | 94448e21cf08b10f7dc7acdaca387594370396b0 (patch) | |
tree | 5d7f00c5646aa7e7429513d6c34a34e17875d1b1 /lib/memory-notifier-error-inject.c | |
parent | 835d66173a38538c072a7c393d02360dcfac8582 (diff) |
media: lgdt3306a: Fix a double kfree on i2c device remove
Both lgdt33606a_release and lgdt3306a_remove kfree state, but _release is
called first, then _remove operates on states members before kfree'ing it.
This can lead to random oops/GPF/etc on USB disconnect.
Signed-off-by: Brad Love <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions