~vcs-imports/file-roller/trunk

Viewing all changes in revision 4331.

  • Committer: David King
  • Author(s): David King
  • Date: 2016-09-06 15:54:11 UTC
  • Revision ID: git-v1:b1dd6b0dc2b43c789000707ff659101b3fa590d1
Fix a clipboard paste memory leak

==11976== 62 (32 direct, 30 indirect) bytes in 1 blocks are definitely lost in l
oss record 13,911 of 23,059
==11976==    at 0x4C2DB9D: malloc (vg_replace_malloc.c:299)
==11976==    by 0x73FD038: g_malloc (gmem.c:94)
==11976==    by 0x74136C2: g_slice_alloc (gslice.c:1025)
==11976==    by 0x7413CED: g_slice_alloc0 (gslice.c:1051)
==11976==    by 0x718FE43: g_type_create_instance (gtype.c:1857)
==11976==    by 0x717243A: g_object_new_internal (gobject.c:1781)
==11976==    by 0x7173D6C: g_object_newv (gobject.c:1928)
==11976==    by 0x71744FB: g_object_new (gobject.c:1621)
==11976==    by 0x6ECF1C9: _g_local_file_new (glocalfile.c:301)
==11976==    by 0x134A9FA7: g_daemon_vfs_get_file_for_path (gdaemonvfs.c:383)
==11976==    by 0x134AA041: g_daemon_vfs_get_file_for_uri (gdaemonvfs.c:407)
==11976==    by 0x44DBE7: _g_file_append_path (glib-utils.c:1393)
==11976==    by 0x43F4F6: fr_window_paste_from_clipboard_data (fr-window.c:8809)
==11976==    by 0x44525B: fr_window_paste_selection_to (fr-window.c:8863)
==11976==    by 0x44525B: fr_window_paste_selection (fr-window.c:8904)
==11976==    by 0x716D517: g_closure_invoke (gclosure.c:804)
==11976==    by 0x717ED91: signal_emit_unlocked_R (gsignal.c:3629)
==11976==    by 0x718796A: g_signal_emit_valist (gsignal.c:3385)
==11976==    by 0x7187D81: g_signal_emit (gsignal.c:3441)
==11976==    by 0x6E8E7E4: g_simple_action_activate (gsimpleaction.c:225)
==11976==    by 0x512D2D0: gtk_action_muxer_activate_action (gtkactionmuxer.c:41
2)

https://bugzilla.gnome.org/show_bug.cgi?id=766271

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: