evas-gl-drm: Don't release gbm buffer twice

Not sure how this got in there, but it looks like
gbm_surface_release_buffer was being called twice on the same buffer.
This should sort out the double-free mentioned in ref T4335

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2016-08-11 07:53:51 -04:00
parent 585b1db623
commit 7cf75b269e
1 changed files with 0 additions and 2 deletions

View File

@ -155,8 +155,6 @@ _evas_outbuf_buffer_swap(Outbuf *ob, Eina_Rectangle *rects, unsigned int count)
{
Ecore_Drm2_Fb *fb;
if (ob->priv.bo[1]) gbm_surface_release_buffer(ob->surface, ob->priv.bo[1]);
/* Repulsive hack: Right now we don't actually have a proper way to retire
* buffers because the ticker and the flip handler are out of sync, the
* flip handler is per output, fbs are submit to multiple outputs and may