Commit c07f67a
committed
patch 8.1.1485: double free when garbage_collect() is used in autocommand
Problem: Double free when garbage_collect() is used in autocommand.
Solution: Have garbage collection also set the copyID in funccal_stack.1 parent 75ee544 commit c07f67a
3 files changed
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | 433 | | |
438 | 434 | | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
439 | 438 | | |
440 | 439 | | |
441 | 440 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4030 | 4030 | | |
4031 | 4031 | | |
4032 | 4032 | | |
4033 | | - | |
4034 | | - | |
| 4033 | + | |
| 4034 | + | |
| 4035 | + | |
4035 | 4036 | | |
4036 | 4037 | | |
4037 | 4038 | | |
| 4039 | + | |
| 4040 | + | |
| 4041 | + | |
| 4042 | + | |
| 4043 | + | |
| 4044 | + | |
4038 | 4045 | | |
4039 | 4046 | | |
4040 | 4047 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
| 770 | + | |
| 771 | + | |
770 | 772 | | |
771 | 773 | | |
772 | 774 | | |
| |||
0 commit comments