Skip to content

Fix string leak in xfdesktop_icon_view_show_tooltip

correctmost requested to merge correctmost/xfdesktop:cm/fix-tooltip-leak into master

Leak report

86 bytes in 1 blocks are definitely lost in loss record 11,059 of 15,513
   at 0x48447A8: malloc (vg_replace_malloc.c:446)
   by 0x4A84661: g_malloc (gmem.c:100)
   by 0x4A9DDD3: g_strdup (gstrfuncs.c:323)
   by 0x4B9FA26: g_strdup_inline (gstrfuncs.h:321)
   by 0x4B9FA26: value_lcopy_string (gvaluetypes.c:315)
   by 0x4EA5AF8: gtk_tree_model_get_valist (gtktreemodel.c:1812)
   by 0x4EA5CE4: gtk_tree_model_get (gtktreemodel.c:1774)
   by 0x14232C: xfdesktop_icon_view_show_tooltip (xfdesktop-icon-view.c:1986)
   by 0x4C52EDC: _gtk_marshal_BOOLEAN__INT_INT_BOOLEAN_OBJECT (gtkmarshalers.c:1830)
   by 0x4B74D17: g_closure_invoke (gclosure.c:833)
   by 0x4B87F3B: signal_emit_unlocked_R (gsignal.c:3887)
   by 0x4B89507: signal_emit_valist_unlocked (gsignal.c:3532)
   by 0x4B90C7A: g_signal_emit_valist (gsignal.c:3262)
   by 0x4B90D24: g_signal_emit (gsignal.c:3582)
   by 0x4EDDA73: gtk_widget_query_tooltip (gtkwidget.c:8224)
[...snip...]

Testing

  • No issues were detected when testing the patch with Valgrind

Merge request reports

Loading