diff options
author | Dan Carpenter <[email protected]> | 2014-09-25 08:39:41 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2014-10-24 09:28:12 -0200 |
commit | 34d7c248ad28c5d462182c5063523023604efc12 (patch) | |
tree | c1fbd7d5199d0fbbdfaa9cbf3673fc67da486600 /lib/memory-notifier-error-inject.c | |
parent | 1a5cfd022774a1ff8517f8f2f2da4013ef7c2e4d (diff) |
[media] em28xx-input: NULL dereference on error
We call "kfree(ir->i2c_client);" in the error handling and that doesn't
work if "ir" is NULL.
Fixes: 78e719a5f30b ('[media] em28xx-input: i2c IR decoders: improve i2c_client handling')
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Frank Schäfer <[email protected]>
Signed-off-by: Hans Verkuil <[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