Skip to content
Commit a7b2df76 authored by Navid Emamdoost's avatar Navid Emamdoost Committed by Mauro Carvalho Chehab
Browse files

media: rc: prevent memory leak in cx23888_ir_probe



In cx23888_ir_probe if kfifo_alloc fails the allocated memory for state
should be released.

Signed-off-by: default avatarNavid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 3eab0546
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment