
Since the pixman_region32_t damage is initialized unconditionally, also finalize it unconditionally. Otherwise we leak rectangle memory when sb->output->frame is NULL. Reported-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>