diff options
author | Tomas Bzatek <tbzatek@redhat.com> | 2012-07-23 18:16:29 +0200 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2012-07-31 11:59:37 +0200 |
commit | 23535a0e56da1640f0d1d4ecd8f65f66880134cf (patch) | |
tree | 8d296c97d294e298ebfdef27153ee249a7038dc3 /daemon/mount.c | |
parent | 02f30b8058e61bd3dc6ab70fab1f3b13bd748043 (diff) | |
download | gvfs-23535a0e56da1640f0d1d4ecd8f65f66880134cf.tar.gz |
gdbus: Use g_clear_object() where appropriate
Diffstat (limited to 'daemon/mount.c')
-rw-r--r-- | daemon/mount.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/daemon/mount.c b/daemon/mount.c index d872c019..a96d7f74 100644 --- a/daemon/mount.c +++ b/daemon/mount.c @@ -258,8 +258,7 @@ mount_data_free (MountData *data) g_object_unref (data->source); g_mount_spec_unref (data->mount_spec); g_free (data->obj_path); - if (data->spawner) - g_object_unref (data->spawner); + g_clear_object (&data->spawner); g_print ("mount_data_free\n"); |