GNOME Bugzilla – Bug 153264
Leaks in sftp-method.c
Last modified: 2005-02-11 22:18:36 UTC
Valgrind reported this leak: ==28695== 4096 bytes in 1 blocks are definitely lost in loss record 159 of 185 ==28695== at 0x1B9054FA: realloc (vg_replace_malloc.c:197) ==28695== by 0x1C315D9D: g_realloc (gmem.c:169) ==28695== by 0x1E7ABFE9: buffer_check_alloc (sftp-method.c:250) ==28695== by 0x1E7AC44D: buffer_recv (sftp-method.c:375) ==28695== by 0x1E7AFE98: do_read_directory (sftp-method.c:2535) ==28695== by 0x1C06F2F6: gnome_vfs_directory_read_next_cancellable (gnome-vfs-directory.c:225) ==28695== by 0x1C076D5B: _gnome_vfs_job_execute (gnome-vfs-job.c:1468) ==28695== by 0x1C07515B: thread_routine (gnome-vfs-job-slave.c:64) ==28695== by 0x1C085433: thread_entry (gnome-vfs-thread-pool.c:186) ==28695== by 0x1C327E3B: g_thread_create_proxy (gthread.c:556) ==28695== by 0x1C2C4925: thread_wrapper (vg_libpthread.c:867) ==28695== by 0xB000F14F: do__quit (vg_scheduler.c:1872)
Created attachment 31764 [details] [review] patch for leak
Created attachment 37358 [details] [review] Updated version!
I commited the patch above to cvs head!