mtd: core: add missing of_node_get() in dynamic partitions code
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v6.0.7 by commit 9e54ce00505d291ef88f2c05e5eef46269daf83c, it was introduced in version v6.0 by commit ad9b10d1eaada169bd764abcab58f08538877e26. For more details please see the references link.