| 26 | return (new); |
| 27 | } |
| 28 | void |
| 29 | delete_dirty_rect(dirty_rect *this) |
| 30 | { |
| 31 | if (this == NULL) |
| 32 | return; |
| 33 | if (this->rects) |
| 34 | free(this->rects); |
| 35 | /* In case the Pointer is reused wrongly */ |
| 36 | this->rects = NULL; |
| 37 | this->max = 0; |
| 38 | this->used = 0; |
| 39 | free(this); |
| 40 | } |
| 41 | static int gc_inside(GRECT *frame, GRECT *test); |
| 42 | static int gc_touch(GRECT *frame, GRECT *test); |
| 43 | static void gc_combine(GRECT *frame, GRECT *test); |
nothing calls this directly
no outgoing calls
no test coverage detected