Message ID | 1587073370-25963-2-git-send-email-frowand.list@gmail.com |
---|---|
State | New |
Headers | show |
Series | [1/5] of: unittest: kmemleak on changeset destroy | expand |
diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c index 7e27670c3616..20ff2dfc3143 100644 --- a/drivers/of/unittest.c +++ b/drivers/of/unittest.c @@ -861,6 +861,10 @@ static void __init of_unittest_changeset(void) unittest(!of_changeset_revert(&chgset), "revert failed\n"); of_changeset_destroy(&chgset); + + of_node_put(n1); + of_node_put(n2); + of_node_put(n21); #endif }