[gvfs/gnome-3-8] http: Set error to NULL to possibly prevent crash on close
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/gnome-3-8] http: Set error to NULL to possibly prevent crash on close
- Date: Wed, 13 Nov 2013 12:27:50 +0000 (UTC)
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]