Skip to content

Fix GCancellable leaks in trash applet

correctmost requested to merge correctmost/thunar:cm/fix-tpa-leaks into master

Leak report

72 (40 direct, 32 indirect) bytes in 1 blocks are definitely lost in loss record 6,338 of 9,734
   at 0x53BD6A0: g_type_create_instance (gtype.c:1928)
   by 0x539FF87: g_object_new_internal (gobject.c:2606)
   by 0x53A182D: g_object_new_with_properties (gobject.c:2769)
   by 0x53A266E: g_object_new (gobject.c:2415)
   by 0x5209916: g_cancellable_new (gcancellable.c:183)
   by 0x4894AB0: thunar_tpa_init (thunar-tpa.c:196)
   by 0x53BD768: g_type_create_instance (gtype.c:1951)
   by 0x539FABA: g_object_constructor (gobject.c:2981)
   by 0x486345C: xfce_panel_plugin_constructor (xfce-panel-plugin.c:793)
[...snip...]

72 (40 direct, 32 indirect) bytes in 1 blocks are definitely lost in loss record 6,339 of 9,734
   at 0x53BD6A0: g_type_create_instance (gtype.c:1928)
   by 0x539FF87: g_object_new_internal (gobject.c:2606)
   by 0x53A182D: g_object_new_with_properties (gobject.c:2769)
   by 0x53A266E: g_object_new (gobject.c:2415)
   by 0x5209916: g_cancellable_new (gcancellable.c:183)
   by 0x4894AB9: thunar_tpa_init (thunar-tpa.c:197)
   by 0x53BD768: g_type_create_instance (gtype.c:1951)
   by 0x539FABA: g_object_constructor (gobject.c:2981)
   by 0x486345C: xfce_panel_plugin_constructor (xfce-panel-plugin.c:793)
[...snip...]

72 (40 direct, 32 indirect) bytes in 1 blocks are definitely lost in loss record 6,340 of 9,734
   at 0x53BD6A0: g_type_create_instance (gtype.c:1928)
   by 0x539FF87: g_object_new_internal (gobject.c:2606)
   by 0x53A182D: g_object_new_with_properties (gobject.c:2769)
   by 0x53A266E: g_object_new (gobject.c:2415)
   by 0x5209916: g_cancellable_new (gcancellable.c:183)
   by 0x4894AC2: thunar_tpa_init (thunar-tpa.c:198)
   by 0x53BD768: g_type_create_instance (gtype.c:1951)
   by 0x539FABA: g_object_constructor (gobject.c:2981)
   by 0x486345C: xfce_panel_plugin_constructor (xfce-panel-plugin.c:793)
[...snip...]

Testing

  • No issues were detected when testing the patch with Valgrind

Merge request reports