forked from AuroraMiddleware/gtk
Don't destroy NULL region
This commit is contained in:
parent
4202cc0c60
commit
acf1954f12
@ -6311,7 +6311,8 @@ gdk_window_shape_combine_mask (GdkWindow *window,
|
||||
region,
|
||||
x, y);
|
||||
|
||||
gdk_region_destroy (region);
|
||||
if (region)
|
||||
gdk_region_destroy (region);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user