[gvfs] afp: Don't free the handle if truncate fails



commit 91cf41328a2df886ec59c533ffa4991f92059e59
Author: Ross Lagerwall <rosslagerwall gmail com>
Date:   Fri Dec 6 15:24:14 2013 +0000

    afp: Don't free the handle if truncate fails
    
    https://bugzilla.gnome.org/show_bug.cgi?id=573837

 daemon/gvfsbackendafp.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsbackendafp.c b/daemon/gvfsbackendafp.c
index 6d043e3..13af158 100644
--- a/daemon/gvfsbackendafp.c
+++ b/daemon/gvfsbackendafp.c
@@ -795,7 +795,6 @@ truncate_cb (GObject *source_object, GAsyncResult *res, gpointer user_data)
   {
     g_vfs_job_failed_from_error (G_VFS_JOB (job), err);
     g_error_free (err);
-    afp_handle_free (afp_handle);
   }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]