> On logicvc_layer_init() failure, logicvc_layers_init() releases the
> parent layers_node reference before jumping to the error path, but
> never releases layer_node, the child node held by the current
> for_each_child_of_node() iteration. Add the missing of_node_put()
> for layer_node alongside the existing one for layers_node.

How do you think about to increase the application of scope-based resource 
management?

Regards,
Markus

Reply via email to