This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 8e404e3
committed
[[ Bug 22017 ]] Fix memory leak when updating listBehavior fields
This patch fixes a memory leak which can occur when updating listBehavior
fields in some cases. The leak was caused by failing to release the saved
set of previously hilited lines after re-applying them. It has been fixed
by passing a reference to an appropriate auto-class around, rather than
bare pointers.1 parent b5e0e6b commit 8e404e3
File tree
5 files changed
+59
-22
lines changed- docs/notes
- engine/src
- tests/lcs/core/field
5 files changed
+59
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
| 460 | + | |
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
341 | | - | |
342 | | - | |
| 340 | + | |
| 341 | + | |
343 | 342 | | |
344 | 343 | | |
345 | 344 | | |
346 | 345 | | |
347 | 346 | | |
348 | 347 | | |
349 | 348 | | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | 349 | | |
358 | 350 | | |
359 | 351 | | |
| |||
373 | 365 | | |
374 | 366 | | |
375 | 367 | | |
376 | | - | |
| 368 | + | |
377 | 369 | | |
378 | | - | |
| 370 | + | |
379 | 371 | | |
380 | 372 | | |
381 | 373 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
996 | 996 | | |
997 | 997 | | |
998 | 998 | | |
999 | | - | |
| 999 | + | |
1000 | 1000 | | |
1001 | | - | |
1002 | | - | |
1003 | | - | |
1004 | | - | |
1005 | 1001 | | |
1006 | 1002 | | |
| 1003 | + | |
1007 | 1004 | | |
1008 | | - | |
1009 | 1005 | | |
1010 | 1006 | | |
1011 | 1007 | | |
1012 | 1008 | | |
1013 | 1009 | | |
1014 | 1010 | | |
1015 | 1011 | | |
1016 | | - | |
| 1012 | + | |
1017 | 1013 | | |
1018 | 1014 | | |
1019 | 1015 | | |
1020 | 1016 | | |
1021 | | - | |
1022 | | - | |
1023 | 1017 | | |
1024 | 1018 | | |
1025 | 1019 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
0 commit comments