On Thu, 2 Jun 2022 08:24:30 +0400, Miaoqian Lin wrote: > 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. > of_node_put() will check NULL pointer. > > Applied, thanks! [1/1] soc: qcom: ocmem: Fix refcount leak in of_get_ocmem commit: 92a563fcf14b3093226fb36f12e9b5cf630c5a5d Best regards, -- Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>