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.10.163 by commit 3d5f83a62e8235d235534b3dc6f197d8a822c269, it was introduced in version v2.6.36 by commit 3831861b4ad8fd0ad7110048eb3e155628799d2b. For more details please see the references link.