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