Skip to content
Commit 35ca8ce4 authored by Lu Hongfei's avatar Lu Hongfei Committed by Hans Verkuil
Browse files

media: mdp3: Fix resource leaks in of_find_device_by_node



Use put_device to release the object get through of_find_device_by_node,
avoiding resource leaks.

Signed-off-by: default avatarLu Hongfei <luhongfei@vivo.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent ea9ef6c2
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