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.19.2 by commit babd7b0124650ab71a6487e38588b8659b3aa2dc, it was introduced in version v4.7 by commit b0afd44bc192ff4c0e90a5fc1724350bcfc32b33. For more details please see the references link.