Comment 21 for bug 1582687

Can you reproduce your crash? Try to add error trap around XFixesDestroyRegion (xdisplay, cw->window_region); line.

Anyway I am starting to think that it is better to add error trap for whole free_win function.