of: Fix memory hole in of_find_node_by_reproducible_name()
of_get_reproducible_name() returns an allocated string, so we must free
it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent fc45db9 commit cf7b9c3d15a17c8b74bb37a0f8064aaed65f234d
@Sascha Hauer Sascha Hauer authored on 12 Sep 2019
Showing 1 changed file
View
drivers/of/base.c