diff options
author | Tomas Bzatek <tbzatek@redhat.com> | 2012-07-23 18:40:24 +0200 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2012-07-31 11:59:38 +0200 |
commit | 6b5b2b4c1f28bdd61e8a2dc24b66191436378910 (patch) | |
tree | 9db1de0edacc825e8144b2b7c0617cd192779b09 /daemon/gvfsjobmount.c | |
parent | 23535a0e56da1640f0d1d4ecd8f65f66880134cf (diff) | |
download | gvfs-6b5b2b4c1f28bdd61e8a2dc24b66191436378910.tar.gz |
gdbus: Use g_clear_error() where appropriate
Diffstat (limited to 'daemon/gvfsjobmount.c')
-rw-r--r-- | daemon/gvfsjobmount.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/daemon/gvfsjobmount.c b/daemon/gvfsjobmount.c index 1cd9e289..da72444d 100644 --- a/daemon/gvfsjobmount.c +++ b/daemon/gvfsjobmount.c @@ -177,8 +177,7 @@ register_mount_callback (GVfsDBusMountTracker *proxy, g_vfs_job_emit_finished (G_VFS_JOB (op_job)); } - if (error != NULL) - g_error_free (error); + g_clear_error (&error); } /* Might be called on an i/o thread */ |