Skip to content

Fix leak when dragging icons

Leak report

48 bytes in 1 blocks are definitely lost in loss record 8,512 of 14,616
   at 0x484BC13: calloc (vg_replace_malloc.c:1675)
   by 0x4A85775: g_malloc0 (gmem.c:133)
   by 0x139907: xfdesktop_icon_view_drag_data_get (xfdesktop-icon-view.c:2351)
   by 0x4C60D0B: _gtk_marshal_VOID__OBJECT_BOXED_UINT_UINT (gtkmarshalers.c:5290)
   by 0x4B7D5DC: g_type_class_meta_marshal (gclosure.c:1034)
   by 0x4B7ED17: g_closure_invoke (gclosure.c:833)
   by 0x4B92069: signal_emit_unlocked_R (gsignal.c:3927)
   by 0x4B935FE: signal_emit_valist_unlocked (gsignal.c:3519)
   by 0x4B9AF9D: g_signal_emit_by_name (gsignal.c:3623)
   by 0x4F276E9: gtk_drag_selection_get (gtkdnd.c:2723)
[...snip...]

Testing

  • No issues were detected when testing the patch with Valgrind

Merge request reports