drm/amd: fix potential memory leak
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.3 by commit a6e6ab9caeac96b277a3fe7da1dfa8f69a591759. For more details please see the references link.