aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/omapdrm/omap_drv.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2017-08-04 12:20:03 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2017-08-15 15:18:25 +0300
commit95552191f0a0c3632808d8883fc05d37a5c2fe14 (patch)
treed1cb367bd8d7f572333595be925cc2dbc1467d97 /drivers/gpu/drm/omapdrm/omap_drv.c
parent0c697fafc66830ca7d5dc19123a1d0641deaa1f6 (diff)
drm/omap: fix memory leak when FB init fails
omap_framebuffer_create() fails to unref all the gem objects if creating the FB fails, leading to a memory leak. Fix the loop so that it goes through all the reffed gem objects. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_drv.c')
0 files changed, 0 insertions, 0 deletions