[PATCH] gpu/drm: fix potential memleak in error branch