[Spice-devel] [spice-gtk v1 00/10] file-transfer leaks and fixes

Victor Toso victortoso at redhat.com
Fri Jul 29 22:26:21 UTC 2016


Hi,

Althought the file-transfer seems to work well, I missed some leaks and teuf
started to fix them [0], thanks! Based on it I tried a bit to find more related
issues to fix. You can find this series in the remote branche at [1]

[0] https://cgit.freedesktop.org/~teuf/spice-gtk/log/?h=file-transfer
[1] https://cgit.freedesktop.org/~victortoso/spice-gtk/log/?h=file-transfer

I can't find other leaks/problems so far... :)

Cheers,
  toso

Christophe Fergeau (5):
  test-file-transfer: Don't leak GFileInfo
  test-file-transfer: Don't leak GError
  file-transfer: Fix GTask leaks
  file-transfer: Fix SpiceFileTransferTask::file_stream leak
  file-transfer: avoid potential leaks

Victor Toso (5):
  test-file-transfer: Don't leak SpiceFileTransferTask
  file-transfer: Fix SpiceFileTransferTask::error leak
  file-transfer: increase reference for channel-main
  channel-main: check if file-transfer was completed on idle
  file-transfer: fix leak on _task_get_filename

 src/channel-main.c                  | 19 +++++++++-----
 src/spice-file-transfer-task-priv.h |  1 +
 src/spice-file-transfer-task.c      | 52 ++++++++++++++++++++++++++++---------
 src/spice-file-transfer-task.h      |  2 +-
 tests/file-transfer.c               | 13 ++++++++++
 5 files changed, 68 insertions(+), 19 deletions(-)

-- 
2.7.4



More information about the Spice-devel mailing list