diff options
author | Tomas Bzatek <tbzatek@redhat.com> | 2011-11-14 17:19:25 +0100 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2011-11-14 17:19:25 +0100 |
commit | 200fe6ee11a2bdc244d7ee9335940079756fb66b (patch) | |
tree | 95b2c29aa6b5bef1dfd1777a2d4ec7f198ef3e38 | |
parent | da3ca12ab830f58c527cb8e8e4193647300cef12 (diff) | |
download | gvfs-200fe6ee11a2bdc244d7ee9335940079756fb66b.tar.gz |
daemon: Do not unref NULL mount spec
This is going away with GDBus port, but still...
-rw-r--r-- | daemon/mount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/mount.c b/daemon/mount.c index eb45b387..b016ac04 100644 --- a/daemon/mount.c +++ b/daemon/mount.c @@ -863,13 +863,14 @@ lookup_mount (DBusConnection *connection, vfs_mount_to_dbus (mount, &iter); } } + + g_mount_spec_unref (spec); } else reply = dbus_message_new_error (message, DBUS_ERROR_INVALID_ARGS, "Invalid arguments"); - g_mount_spec_unref (spec); if (reply != NULL) { dbus_connection_send (connection, reply, NULL); |