diff options
author | Chris Michael <cp.michael@samsung.com> | 2016-08-11 07:53:51 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2016-08-11 07:53:51 -0400 |
commit | 7cf75b269ee5f7f72d37d4aeabe45f83e26e55e6 (patch) | |
tree | b301cca90d121ff8b0c7d9b330a36cd9fd8753d6 | |
parent | 585b1db623603c31ce5c236b7b31b8fe670e87ea (diff) | |
download | efl-7cf75b269ee5f7f72d37d4aeabe45f83e26e55e6.tar.gz |
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>
-rw-r--r-- | src/modules/evas/engines/gl_drm/evas_outbuf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/evas/engines/gl_drm/evas_outbuf.c b/src/modules/evas/engines/gl_drm/evas_outbuf.c index ad3f2a0414..cbeae57797 100644 --- a/src/modules/evas/engines/gl_drm/evas_outbuf.c +++ b/src/modules/evas/engines/gl_drm/evas_outbuf.c @@ -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 |