forked from enlightenment/efl
evas-wayland-shm: Free allocated rectangle after sending damages
We allocate a new eina_rectangle here, but we never free it after sending damages to the surface. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
9b4b35eec4
commit
aea57d7a8e
|
@ -515,6 +515,8 @@ _evas_swapper_buffer_put(Wl_Swapper *ws, Wl_Buffer *wb, Eina_Rectangle *rects, u
|
|||
|
||||
/* surface commit */
|
||||
wl_surface_commit(ws->surface);
|
||||
|
||||
eina_rectangle_free(rect);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue