Skip to content

settings-dialogs: Fix string leak

correctmost requested to merge correctmost/xfwm4:cm/fix-string-leak into master

Leak report

7 bytes in 1 blocks are definitely lost in loss record 169 of 10,189
   at 0x48447A8: malloc (vg_replace_malloc.c:446)
   by 0x5AA5661: g_malloc (gmem.c:100)
   by 0x5ABEDD3: g_strdup (gstrfuncs.c:323)
   by 0x5A28AA5: g_strdup_inline (gstrfuncs.h:321)
   by 0x5A28AA5: g_value_dup_string (gvaluetypes.c:1159)
   by 0x57EE93B: xfconf_channel_get_string (xfconf-channel.c:794)
   by 0x10BFC7: wm_tweaks_dialog_configure_widgets (tweaks-settings.c:270)
   by 0x10BFC7: main (tweaks-settings.c:551)

Testing

  • No issues were detected with Valgrind when testing the patch

Merge request reports

Loading