Initialize surface bounding region on creation

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-06-11 09:16:00 +01:00
parent f882da7f3f
commit 1c51e65942
1 changed files with 1 additions and 0 deletions

View File

@ -431,6 +431,7 @@ _e_comp_cb_surface_destroy(struct wl_resource *resource)
_e_comp->renderer->surface_destroy(es);
/* free regions */
pixman_region32_fini(&es->bounding);
pixman_region32_fini(&es->damage);
pixman_region32_fini(&es->opaque);
pixman_region32_fini(&es->input);