Don't destroy NULL region

This commit is contained in:
Alexander Larsson 2008-12-18 20:18:27 +01:00 committed by Alexander Larsson
parent 4202cc0c60
commit acf1954f12

View File

@ -6311,7 +6311,8 @@ gdk_window_shape_combine_mask (GdkWindow *window,
region,
x, y);
gdk_region_destroy (region);
if (region)
gdk_region_destroy (region);
}
/**