summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2009-07-20 18:04:19 +0200
committerBenjamin Otte <otte@gnome.org>2009-07-20 18:04:19 +0200
commitb49421d78e4da73b6955fb96906a2a9260a8f8dc (patch)
tree81a53f9c337dcccb0480097ac07b9d4347487388
parent4255792153906238a67e4a4d748ba71b52d663be (diff)
downloadgvfs-b49421d78e4da73b6955fb96906a2a9260a8f8dc.tar.gz
Do not free reply in this error case, as it hasn't been set
-rw-r--r--daemon/gvfsftptask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsftptask.c b/daemon/gvfsftptask.c
index 4c46c0ce..72e2cd6a 100644
--- a/daemon/gvfsftptask.c
+++ b/daemon/gvfsftptask.c
@@ -764,7 +764,7 @@ g_vfs_ftp_task_setup_data_connection_epsv (GVfsFtpTask *task, GVfsFtpMethod meth
status = g_vfs_ftp_task_send_and_check (task, G_VFS_FTP_PASS_500, NULL, NULL, &reply, "EPSV");
if (G_VFS_FTP_RESPONSE_GROUP (status) != 2)
- goto fail;
+ return G_VFS_FTP_METHOD_ANY;
/* FIXME: parse multiple lines? */
s = strrchr (reply[0], '(');