free x11 damage region rects

This commit is contained in:
Mike Blumenkrantz 2015-09-29 13:03:35 -04:00
parent 0a7c9ad5b9
commit bd8987c4d9
1 changed files with 1 additions and 0 deletions

View File

@ -2830,6 +2830,7 @@ _e_comp_x_damage(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_Dam
for (i = 0; i < n; i++)
e_comp_object_damage(ec->frame, rects[i].x, rects[i].y, rects[i].width, rects[i].height);
}
free(rects);
if ((!ec->re_manage) && (!ec->override) && (!_e_comp_x_client_data_get(ec)->first_damage))
e_comp_object_render_update_del(ec->frame);
else