From: Jason Ekstrand Date: Fri, 15 Nov 2013 02:52:35 +0000 (-0600) Subject: compositor-drm: Release the correct buffer in drm_output_release_fb X-Git-Tag: upstream/0.1.8~719 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ec57f5d6966f8da92a1f5cb7d84c703ff3ad824;p=profile%2Fivi%2Fweston-ivi-shell.git compositor-drm: Release the correct buffer in drm_output_release_fb --- diff --git a/src/compositor-drm.c b/src/compositor-drm.c index e89c768..a1d9d59 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -412,7 +412,7 @@ drm_output_release_fb(struct drm_output *output, struct drm_fb *fb) gbm_bo_destroy(fb->bo); else gbm_surface_release_buffer(output->surface, - output->current->bo); + fb->bo); } }