зеркало из https://github.com/mozilla/gecko-dev.git
fix memory leak in scrolling code. make sure to destroy a temporary region before jumping to the end of the function. a=brendan
This commit is contained in:
Родитель
0fcf0b8ca9
Коммит
1e4aa90dfb
|
@ -614,6 +614,7 @@ void gdk_superwin_handle_expose (GdkSuperWin *superwin, XEvent *xevent,
|
|||
/* if the rect of the expose event is contained in the
|
||||
antiexpose then we should just drop it on the floor. */
|
||||
if (gdk_region_rect_in(antiexpose_region, &rect) == GDK_OVERLAP_RECTANGLE_IN) {
|
||||
gdk_region_destroy(antiexpose_region);
|
||||
goto end;
|
||||
}
|
||||
gdk_region_destroy(antiexpose_region);
|
||||
|
|
Загрузка…
Ссылка в новой задаче