Fix string leak in cb_image_selection_changed
Leak report
41 bytes in 1 blocks are definitely lost in loss record 15,177 of 35,485
at 0x48447A8: malloc (vg_replace_malloc.c:446)
by 0x546D661: g_malloc (gmem.c:100)
by 0x5486DD3: g_strdup (gstrfuncs.c:323)
by 0x5588A26: g_strdup_inline (gstrfuncs.h:321)
by 0x5588A26: value_lcopy_string (gvaluetypes.c:315)
by 0x4B41AF8: gtk_tree_model_get_valist (gtktreemodel.c:1812)
by 0x4B41CE4: gtk_tree_model_get (gtktreemodel.c:1774)
by 0x115585: cb_image_selection_changed (xfdesktop-background-settings.c:817)
[...snip...]
Testing
- No issues were detected when testing the patch with Valgrind
Edited by correctmost