[PATCH 6.0 738/862] drm/amd: fix potential memory leak