Skip to content
Commit e22a3b34 authored by Insu Yun's avatar Insu Yun Committed by Mauro Carvalho Chehab
Browse files

[media] usbtv: correctly handling failed allocation



Since kzalloc can be failed,
if not properly handled, NULL dereference could be happened.

Signed-off-by: default avatarInsu Yun <wuninsu@gmail.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent f8433226
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment