Repository navigation
Commit 46f1427
committed
gtk.cfg: g_idle_add and g_timeout_add take the data pointer
The data given to g_idle_add(), g_timeout_add() and their _seconds/_full
variants is passed to the callback (and the destroy notify), which
usually frees it. With <leak-ignore/> every such call was reported as
Memory leak: data
Configure them as <use> instead.1 parent bf89a6f commit 46f1427
2 files changed
Lines changed: 48 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
720 | 726 | | |
721 | 727 | | |
722 | 728 | | |
| |||
4237 | 4243 | | |
4238 | 4244 | | |
4239 | 4245 | | |
4240 | | - | |
4241 | 4246 | | |
4242 | 4247 | | |
4243 | 4248 | | |
| |||
4249 | 4254 | | |
4250 | 4255 | | |
4251 | 4256 | | |
4252 | | - | |
4253 | 4257 | | |
4254 | 4258 | | |
4255 | 4259 | | |
| |||
5652 | 5656 | | |
5653 | 5657 | | |
5654 | 5658 | | |
5655 | | - | |
5656 | 5659 | | |
5657 | 5660 | | |
5658 | 5661 | | |
| |||
5669 | 5672 | | |
5670 | 5673 | | |
5671 | 5674 | | |
5672 | | - | |
5673 | 5675 | | |
5674 | 5676 | | |
5675 | 5677 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
0 commit comments