[gvfs/gnome-3-8] http: Set error to NULL to possibly prevent crash on close



commit 4ba6016158cbf6b40900d6e4594be5c820016480
Author: Ross Lagerwall <rosslagerwall gmail com>
Date:   Wed Oct 23 08:13:16 2013 +0200

    http: Set error to NULL to possibly prevent crash on close
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710678

 daemon/gvfsbackendhttp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsbackendhttp.c b/daemon/gvfsbackendhttp.c
index c06d36b..f1bbb99 100644
--- a/daemon/gvfsbackendhttp.c
+++ b/daemon/gvfsbackendhttp.c
@@ -510,7 +510,7 @@ close_read_ready (GObject      *source_object,
 {
   GInputStream *stream;
   GVfsJob      *job;
-  GError       *error;
+  GError       *error = NULL;
   gboolean      res;
 
   job = G_VFS_JOB (user_data);


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