r6040: Fix kmemleak in probe and remove
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.86 by commit 9b5b50329e2e966831a7237dd6949e7b5362a49a, it was introduced in version v2.6.36 by commit 3831861b4ad8fd0ad7110048eb3e155628799d2b. For more details please see the references link.