[PATCH 5.7 245/265] drm/amd: fix potential memleak in err branch