mtd: maps: Fix refcount leak in apflashinit
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 v5.15.61 by commit d5730780e9ea84e5476752a47c749036c6a74af5, it was introduced in version v4.7 by commit b0afd44bc192ff4c0e90a5fc1724350bcfc32b33. For more details please see the references link.