compositor-drm: Release the correct buffer in drm_output_release_fb

This commit is contained in:
Jason Ekstrand
2013-11-14 20:52:35 -06:00
committed by Kristian Høgsberg
parent 42133d47d3
commit 3ec57f5d69
+1 -1
View File
@@ -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);
}
}