of: overlay: fix memory leak related to duplicated property
Function of_changeset_add_property or of_changeset_update_property may fails. In this case the property just allocated is never deallocated. Signed-off-by: NLixin Wang <alan.1.wang@nokia-sbell.com> Signed-off-by: NRob Herring <robh@kernel.org>
Showing
想要评论请 注册 或 登录