Browse Source

Fix cairo region leak in clip_box().

tags/v1.3.1000
Jonathan Moore Liles 11 years ago
parent
commit
b5541bf37c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/fl_rect.cxx

+ 2
- 0
src/fl_rect.cxx View File

@@ -729,6 +729,8 @@ int Fl_Graphics_Driver::clip_box(int x, int y, int w, int h, int& X, int& Y, int

cairo_region_overlap_t o = cairo_region_contains_rectangle( r, &rect );
cairo_region_destroy(t);

switch ( o )
{
case CAIRO_REGION_OVERLAP_IN:


Loading…
Cancel
Save