Skip to content

mime: Fix AtkRelationSet leak

correctmost requested to merge correctmost/xfce4-settings:cm/fix-atk-leak into master

Leak report

Indirect leak of 120 byte(s) in 3 object(s) allocated from:
    #0 0x64045b4ea529 in calloc (/usr/asan/bin/xfce4-mime-settings+0x17a529)
    #1 0x7f164958bb62 in g_malloc0 /usr/src/debug/glib2/build/../glib/glib/gmem.c:133:13
    #2 0x7f1649cb67b5 in g_type_create_instance /usr/src/debug/glib2/build/../glib/gobject/gtype.c:1933:17
    #3 0x7f1649c9b684 in g_object_new_internal /usr/src/debug/glib2/build/../glib/gobject/gobject.c:2606:24
    #4 0x7f1649c9d97a in g_object_new_internal /usr/src/debug/glib2/build/../glib/gobject/gobject.c:2923:29
    #5 0x7f1649c9d97a in g_object_new_valist /usr/src/debug/glib2/build/../glib/gobject/gobject.c:2945:16
    #6 0x7f1649c9dd2f in g_object_new /usr/src/debug/glib2/build/../glib/gobject/gobject.c:2418:12
    #7 0x7f164afd0bc6 in atk_relation_new /usr/src/debug/at-spi2-core/build/../at-spi2-core/atk/atkrelation.c:264:14
    #8 0x64045b542452 in xfce_mime_helper_chooser_pressed xfce4-settings/dialogs/mime-settings/xfce-mime-helper-chooser.c:699:14
[...snip...]

Testing

  • No issues were detected with LSan, ASan, or Valgrind when testing the patch

Merge request reports