diff options
author | Ross Lagerwall <rosslagerwall@gmail.com> | 2013-10-23 08:13:16 +0200 |
---|---|---|
committer | Ross Lagerwall <rosslagerwall@gmail.com> | 2013-10-25 09:42:57 +0200 |
commit | 084a365996f1e5948913af452d952d396994791a (patch) | |
tree | d77a32f0f3458af5b67afa9b684f71c52379f5eb /daemon/gvfsbackendhttp.c | |
parent | 39471165d86fe3094536466a4a7039ff4e9ed095 (diff) | |
download | gvfs-084a365996f1e5948913af452d952d396994791a.tar.gz |
http: Set error to NULL to possibly prevent crash on close
https://bugzilla.gnome.org/show_bug.cgi?id=710678
Diffstat (limited to 'daemon/gvfsbackendhttp.c')
-rw-r--r-- | daemon/gvfsbackendhttp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsbackendhttp.c b/daemon/gvfsbackendhttp.c index 92caf5b3..aebe851d 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); |