This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 24aac5e
committed
[[ Bug 21921 ]] Ensure MCGRegion destructor is called
This patch changes the use of MCMemoryNew/MCMemoryDelete to
MCMemoryCreate/MCMemoryDestroy. This is necessary because the
internal __MCGRegion struct has an implicit constructor due to
it wrapping an SkRegion which needs a destructor when the region
becomes complex (i.e. not being a single rectangle).1 parent 009e465 commit 24aac5e
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments