This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 0b424e2
committed
[[ Bug 21887 ]] Use auto classes to manage MCTextChunkIterator instances
This patch replaces the use of explicit deallocation of MCTextChunkIterator
instances with auto classes. By doing this memory leaks in the LCB
'is among the chars of' and 'the number of chars in' operators are eliminated.1 parent 009e465 commit 0b424e2
File tree
5 files changed
+15
-22
lines changed- docs/notes
- engine/src
- libscript/src
5 files changed
+15
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | | - | |
| 420 | + | |
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
| |||
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
554 | | - | |
| 554 | + | |
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
598 | | - | |
599 | | - | |
600 | 598 | | |
601 | 599 | | |
602 | 600 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
| |||
1145 | 1144 | | |
1146 | 1145 | | |
1147 | 1146 | | |
1148 | | - | |
1149 | | - | |
1150 | | - | |
| 1147 | + | |
1151 | 1148 | | |
1152 | 1149 | | |
1153 | 1150 | | |
| |||
1157 | 1154 | | |
1158 | 1155 | | |
1159 | 1156 | | |
1160 | | - | |
1161 | | - | |
1162 | | - | |
| 1157 | + | |
1163 | 1158 | | |
1164 | 1159 | | |
1165 | 1160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1531 | 1531 | | |
1532 | 1532 | | |
1533 | 1533 | | |
1534 | | - | |
1535 | | - | |
| 1534 | + | |
| 1535 | + | |
1536 | 1536 | | |
1537 | 1537 | | |
1538 | 1538 | | |
1539 | 1539 | | |
1540 | | - | |
1541 | 1540 | | |
1542 | 1541 | | |
1543 | 1542 | | |
| |||
1680 | 1679 | | |
1681 | 1680 | | |
1682 | 1681 | | |
1683 | | - | |
1684 | | - | |
| 1682 | + | |
| 1683 | + | |
1685 | 1684 | | |
1686 | 1685 | | |
1687 | 1686 | | |
1688 | | - | |
1689 | 1687 | | |
1690 | 1688 | | |
1691 | 1689 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
| 68 | + | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments