[gvfs] http: Set error to NULL to possibly prevent crash on close



commit 084a365996f1e5948913af452d952d396994791a
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]