Skip to content
Commit 46ac2956 authored by Dan Carpenter's avatar Dan Carpenter Committed by Tomi Valkeinen
Browse files

video: vt8500: fix error handling in probe()



We shouldn't kfree(fbi) because that was allocated with devm_kzalloc().
There were several error paths which returned directly instead of
releasing resources.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 5a0973f3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment