diff options
author | Benjamin Otte <otte@gnome.org> | 2009-08-19 11:11:14 +0200 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2009-08-19 11:11:14 +0200 |
commit | 9234b9060b37aa5db8b71f4ef37e7eeb9eb1af34 (patch) | |
tree | 3b2941a38d061c9de2d65ec24d0c5d123d49dbc5 /daemon/gvfsbackendftp.c | |
parent | 2179b65e49860813e36d7ee21618cabeb2f260cb (diff) | |
download | gvfs-9234b9060b37aa5db8b71f4ef37e7eeb9eb1af34.tar.gz |
[FTP] Fix memleak
Diffstat (limited to 'daemon/gvfsbackendftp.c')
-rw-r--r-- | daemon/gvfsbackendftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsbackendftp.c b/daemon/gvfsbackendftp.c index b9841659..15cb7330 100644 --- a/daemon/gvfsbackendftp.c +++ b/daemon/gvfsbackendftp.c @@ -926,6 +926,7 @@ do_enumerate (GVfsBackend *backend, dir, TRUE, query_flags & G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS ? FALSE : TRUE); + g_vfs_ftp_file_free (dir); if (g_vfs_ftp_task_is_in_error (&task)) { g_assert (list == NULL); @@ -949,7 +950,6 @@ do_enumerate (GVfsBackend *backend, g_vfs_job_enumerate_done (job); g_list_free (list); - g_vfs_ftp_file_free (dir); } static void |