[gvfs] afp: Fix crasher in GVfsAfpConnection when sending tickle requests.



commit 1f35da46568ba5000bbb5426dae415cfa12224f7
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Thu Aug 9 21:03:50 2012 +0200

    afp: Fix crasher in GVfsAfpConnection when sending tickle requests.

 daemon/gvfsafpconnection.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gvfsafpconnection.c b/daemon/gvfsafpconnection.c
index 5b4b5d9..f4da0a8 100644
--- a/daemon/gvfsafpconnection.c
+++ b/daemon/gvfsafpconnection.c
@@ -964,6 +964,7 @@ dispatch_reply (GVfsAfpConnection *afp_connection)
       /* Send back a tickle message */
       req_data = g_slice_new0 (RequestData);
       req_data->type = REQUEST_TYPE_TICKLE;
+      req_data->conn = afp_connection;
 
       /* take lock */
       g_mutex_lock (&priv->mutex);



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