[media] s5p-fimc: Fix possible memory leak during capture devnode registration
Add missing kfree on the error path. Reported-by: NTomasz Stanislawski <t.stanislaws@samsung.com> Signed-off-by: NSylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
Showing
想要评论请 注册 或 登录