drm/gma500: Add the missed drm_gem_object_put() in psb_user_framebuffer_create()
authorJing Xiangfeng <jingxiangfeng@huawei.com>
Tue, 29 Jun 2021 11:59:56 +0000 (19:59 +0800)
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Fri, 9 Jul 2021 19:32:04 +0000 (21:32 +0200)
commita84cb7a494316fbe718e0588e827725aa5572d73
tree32770ed12faead894b004868074273f834258f7e
parent710fa9aa16321f2ffdd8383f6f780c9cc1e5a197
drm/gma500: Add the missed drm_gem_object_put() in psb_user_framebuffer_create()

psb_user_framebuffer_create() misses to call drm_gem_object_put() in an
error path. Add the missed function call to fix it.

Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210629115956.15160-1-jingxiangfeng@huawei.com
drivers/gpu/drm/gma500/framebuffer.c