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:
Chris Michael 2014-07-29 17:02:04 -04:00
parent 9b4b35eec4
commit aea57d7a8e
1 changed files with 2 additions and 0 deletions

View File

@ -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