Skip to content
Commit b23789a5 authored by Miaoqian Lin's avatar Miaoqian Lin Committed by Helge Deller
Browse files

video: fbdev: clcdfb: Fix refcount leak in clcdfb_of_vram_setup



of_parse_phandle() returns a node pointer with refcount incremented, we should
use of_node_put() on it when not need anymore.  Add missing of_node_put() to
avoid refcount leak.

Fixes: d10715be ("video: ARM CLCD: Add DT support")
Signed-off-by: default avatarMiaoqian Lin <linmq006@gmail.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent c4b4d704
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