Skip to content

lock-plug: Fix GtkBuilder leak

Leak report

2,038 (40 direct, 1,998 indirect) bytes in 1 blocks are definitely lost in loss record 11,364 of 11,566
   at 0x547C6A0: g_type_create_instance (gtype.c:1928)
   by 0x545EF87: g_object_new_internal (gobject.c:2606)
   by 0x546082D: g_object_new_with_properties (gobject.c:2769)
   by 0x546166E: g_object_new (gobject.c:2415)
   by 0x556FA5B: gtk_builder_new (gtkbuilder.c:1013)
   by 0x1144BF: gs_lock_plug_add_login_window (gs-lock-plug.c:1519)
   by 0x1144BF: gs_lock_plug_init (gs-lock-plug.c:1606)
   by 0x547C768: g_type_create_instance (gtype.c:1951)
   by 0x545EF87: g_object_new_internal (gobject.c:2606)
   by 0x5460E9C: g_object_new_valist (gobject.c:2945)
   by 0x546164B: g_object_new (gobject.c:2418)
   by 0x115804: gs_lock_plug_new (gs-lock-plug.c:1738)
   by 0x111966: popup_dialog_idle (xfce4-screensaver-dialog.c:329)
[...snip...]

Testing

  • No issues were detected with Valgrind when testing the patch

Merge request reports

Loading