[gvfs] Do not free reply in this error case, as it hasn't been set
- From: Benjamin Otte <otte src gnome org>
- To: svn-commits-list gnome org
- Subject: [gvfs] Do not free reply in this error case, as it hasn't been set
- Date: Mon, 20 Jul 2009 16:04:52 +0000 (UTC)
commit b49421d78e4da73b6955fb96906a2a9260a8f8dc
Author: Benjamin Otte <otte gnome org>
Date: Mon Jul 20 18:04:19 2009 +0200
Do not free reply in this error case, as it hasn't been set
daemon/gvfsftptask.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsftptask.c b/daemon/gvfsftptask.c
index 4c46c0c..72e2cd6 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], '(');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]