nfc: Fix potential resource leaks
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.19 by commit a743128fca394a43425020a4f287d3168d94d04f, it was introduced in version v3.13 by commit 5ce3f32b5264b337bfd13a780452a17705307725. For more details please see the references link.