ecore_wl2_surface_dmabuf: fix memory leak on surface destroy

We need to free the surface private data on destroy.
This commit is contained in:
Derek Foreman 2018-02-13 17:31:41 -06:00
parent 8708bfb0bf
commit 3da806bf3b
1 changed files with 2 additions and 0 deletions

View File

@ -207,6 +207,8 @@ _evas_dmabuf_surface_destroy(Ecore_Wl2_Surface *s EINA_UNUSED, void *priv_data)
EINA_LIST_FREE(p->buffers, b)
ecore_wl2_buffer_destroy(b);
free(p);
}
static void