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



commit de8ad26c71e14a15a3c5eeb05a73033dfccc8d85
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 92caf5b..aebe851 100644
--- a/daemon/gvfsbackendhttp.c
+++ b/daemon/gvfsbackendhttp.c
@@ -505,7 +505,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]